Circular dependency
- cyboryxmen
- Posts: 190
- Joined: November 14th, 2014, 2:03 am
Re: Circular dependency
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)!
Zekilk
-
- Posts: 4373
- Joined: February 28th, 2013, 3:23 am
- Location: Oklahoma, United States
Re: Circular dependency
What do you know about Concepts? What are they?cyboryxmen wrote: The Concepts feature would really help to get people to try out metaprogramming more)!
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?
If you think paging some data from disk into RAM is slow, try paging it into a simian cerebrum over a pair of optical nerves. - gameprogrammingpatterns.com