Boost logo

Boost :

From: David Abrahams (dave_at_[hidden])
Date: 2006-09-28 17:09:01


Doug Gregor <dgregor_at_[hidden]> writes:

> On Sep 28, 2006, at 3:20 AM, Andy Little wrote:
>> And a Question to Doug Gregor Does ConceptGCC support decltype and
>> auto? Please
>> note: this is Not a feature request, just a simple question! :-)
>
> No, we don't have support for decltype or auto in ConceptGCC.
>
> Of course, you can fake decltype with concepts, if you want:
>
> auto concept Callable2<typename F, typename T1, typename T2> {
> typename result_type;
> result_type operator()(F, T1, T2);
> }

Doug, that's ridiculously cool... and once you show it, it seems so
obvious that it makes me feel dumb.

-- 
Dave Abrahams
Boost Consulting
www.boost-consulting.com

Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk