Nicolas Alvarez <nic### [at] gmailcom> wrote:
> Joel Yliluoma wrote:
> > C++0x:
> >
> > int main()
> > {
> > int value = <>(int x) (3*x+5) (42);
> > }
> I thought it was [], not <>.
I suppose the exact syntax has still not been written to stone. The
current wikipedia article on the subject uses your syntax:
http://en.wikipedia.org/wiki/C%2B%2B0x#Lambda_functions_and_expressions
--
- Warp
Post a reply to this message
|