Boost logo

Boost :

Subject: Re: [boost] [local_function] End scope function name declaration makes code hard to read.
From: Steven Watanabe (watanabesj_at_[hidden])
Date: 2013-03-15 22:59:17


AMDG

On 03/15/2013 07:28 PM, Mostafa wrote:
> On Fri, 15 Mar 2013 15:20:32 -0700, Lorenzo Caminiti
> <lorcaminiti_at_[hidden]> wrote:
>
> Maybe I wasn't too clear in my original post. I can't see why the method
> body can't be defined after the local function object variable
> declaration.

C++11 9.3: "A member function definition that appears
outside of the class definition shall appear in
a namespace scope enclosing the class definition."

In Christ,
Steven Watanabe


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