
On Fri, May 4, 2012 at 11:06 PM, lcaminiti <lorcaminiti@gmail.com> wrote:
lcaminiti wrote
What's the difference between typename new_type = old_type and typedef old_type new_type? Why are they both allowed?
Got it: typename applies to concepts, typedef to concept_maps.
This may be coming a bit late, but the essential idea is that: typedef declarations assign values to associated types specified via template type parameter declarations. Hope this helps. Thanks, -- Larisse.
Thanks. --Lorenzo
-- View this message in context: http://boost.2283326.n4.nabble.com/boost-concept-typenames-vs-typedefs-tp460... Sent from the Boost - Dev mailing list archive at Nabble.com.
_______________________________________________ Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost