Boost logo

Boost-Build :

From: Vladimir Prus (ghost_at_[hidden])
Date: 2005-05-26 00:38:18


On Thursday 26 May 2005 07:25, Malcolm Cifuentes wrote:
> any one know if there is any documentation on the new call before I go
> digging in the source.

I don't now any docs.

> I would like to know the minimum class I can define for it to be created
> with new?
>
> The first function (i.e. the equivalence to a ctor in C++) to be called on
> the class when new is called.

class whatever
{
rule __init__ ( self )
{
ECHO "HERE WE GO" ;
}
}

w = [ new whatever ] ;

should work.

- Volodya

-- 
Vladimir Prus
http://vladimir_prus.blogspot.com
Boost.Build V2: http://boost.org/boost-build2
 

Boost-Build list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk