Skip to content

Commit

Permalink
Merge pull request #9 from artemp/classes_and_structs
Browse files Browse the repository at this point in the history
structs dont have private members - yes they do :)
  • Loading branch information
artemp committed Feb 19, 2014
2 parents f27bd4c + 3d0072d commit 21ced94
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions variant.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -173,7 +173,7 @@ struct less_comp
};

template <typename Variant, typename Comp>
struct comparer
class comparer
{
public:
explicit comparer(Variant const& lhs) noexcept
Expand All @@ -192,7 +192,7 @@ struct comparer

// operator<< helper
template <typename Out>
struct printer
class printer
{
public:
explicit printer(Out & out)
Expand All @@ -212,7 +212,7 @@ struct printer
} // detail

template<typename... Types>
struct variant
class variant
{
private:

Expand Down

0 comments on commit 21ced94

Please sign in to comment.