
Not trying to beat a dead horse, but this is yet another reason to keep the parenthesis syntax: name().size() -- Ursprüngl. Mitteil. -- Betreff: Re: [boost] [property] interest in C# like properties for C++? Von: Olaf van der Spek <olafvdspek@gmail.com> Datum: 23.10.2009 07:44 On Fri, Oct 23, 2009 at 1:30 AM, Edward Diener <eldiener@tropicsoft.com> wrote:
Of course you can support reference properties along with value properties. It is just very hard, if not impossible, to support both kinds using the same template class. So really one would not a separate template class to support reference properties.
Maybe I should've said class reference. Take std::string for example. I'd be very interested if you've got code that supports for example name.size() where name is your reference property class. name->size() is no problem, but I'd like to have name.size(). Olaf _______________________________________________ Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost