Subject: Re: [boost] [concept] typenames vs. typedefs
From: Larisse Voufo (lvoufo_at_[hidden])
Date: 2012-05-06 12:47:17
On Fri, May 4, 2012 at 11:06 PM, lcaminiti <lorcaminiti_at_[hidden]> 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.
> View this message in context:
> Sent from the Boost - Dev mailing list archive at Nabble.com.
> Unsubscribe & other changes:
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk