|
Boost : |
From: Peter Dimov (pdimov_at_[hidden])
Date: 2001-10-24 13:13:07
From: "Lyell E. Haynes" <fizban_at_[hidden]>
> Why not use a typedef approach, similar to std::string =
> std::basic_string<char>?
>
> Then we could have:
>
> typedef constant<pi_tag, double> pi
>
> and in you code, you can either write:
> v = pi;
Which assigns the type pi to v?
-- Peter Dimov Multi Media Ltd.
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk