Boost logo

Boost Users :

Subject: Re: [Boost-users] Boost Program Options: Any way to have variable number of "objects" each with parameters?
From: Vladimir Prus (ghost_at_[hidden])
Date: 2012-06-25 01:56:44


Hi Charles,

On 22.06.2012 17:49, Charles Mills wrote:
> Vladimir, first off, thank you for the PO library. A *great* productivity
> aid.

Thanks!

>
>> define operator>> for the class
>
> I hear you, but I'm rolling now on the rectangle.height approach.
>
> I'm a very experienced programmer, but my C++ experience is only about three
> years now, and taking on templated operator overrides would be a little bit
> of a project of its own.

Well, if your Rectangle is a usual class, then I would have imagine non-template
overloaded operator>> will work. However, it's fully up to you.

Thanks,
Volodya


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net