News for hackers. Stuff that matters.
Re:C++ concepts support merged into GCC trunk by amyjess on Friday August 07, 2015 @10:13AM (#10022581)
So, if I'm reading the Wiki article right, this is C++'s version of Java's <T extends SomeInterface>?
Re:C++ concepts support merged into GCC trunk by steveklabnik on Friday August 07, 2015 @10:38AM (#10022711)
In a way, yes. Other similar language features include traits in Rust and typeclasses in Haskell, in my understanding.
Re:C++ concepts support merged into GCC trunk by Sharlin on Friday August 07, 2015 @12:14PM (#10023283)
Also Scala's view bounds where a type is accepted if it's implicitly convertible to the required interface.