Boost logo

Boost :

From: Felipe Magno de Almeida (felipe.m.almeida_at_[hidden])
Date: 2007-01-22 13:10:36


You should move your question to a newsgroup like
comp.lang.c++[.moderated] where you will have more feedback and more
people concerned with your question and more advices (like why you
should avoid half-constructed objects and invariance maintenance).

On 1/22/07, Ben FrantzDale <benfrantzdale_at_[hidden]> wrote:
> Is there a generic way to to initialize to zero an object representing a
> point in a linear space? I know the base types can be constructed like

[snipped]

> So, what's the best way to initialize a generic point in a linear space to
> zero before, e.g., adding up a bunch of points?
>
> —Ben

best regards,

-- 
Felipe Magno de Almeida

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