Page 2 of 2
Re: Circular dependency
Posted: November 1st, 2016, 2:14 pm
by cyboryxmen
Moments like these only make me want the Module feature to come to C++ sooner. Get on it ISO C++ Committee(still love what you're doing with c++ 17. The Concepts feature would really help to get people to try out metaprogramming more)!
Re: Circular dependency
Posted: November 1st, 2016, 9:32 pm
by albinopapa
cyboryxmen wrote:
The Concepts feature would really help to get people to try out metaprogramming more)!
What do you know about Concepts? What are they?
From what I can dig up, they are just a way to enforce template parameter types. The biggest example I have seen is EqualityComparable<A, B>. If the types you pass in to EqualityComparable<A, B> don't have an operator== overload, then you get a compilation error.
Is there anything else, or is that all Concepts covers?