Skip to content

Commit

Permalink
feat: set formatter
Browse files Browse the repository at this point in the history
  • Loading branch information
antmat committed Sep 14, 2017
1 parent c640ed4 commit 1f13494
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions include/cocaine/format/set.hpp
@@ -0,0 +1,16 @@
#pragma once

#include <vector>

#include "cocaine/format/base.hpp"
#include "cocaine/format/linear_container.hpp"

namespace cocaine {

template<typename T>
struct display<std::set<T>> : public linear_container_display<std::set<T>> {};

template<typename T>
struct display_traits<std::set<T>> : public lazy_display<std::set<T>> {};

} // namespace cocaine

0 comments on commit 1f13494

Please sign in to comment.