Boost logo

Boost :

From: David Abrahams (david.abrahams_at_[hidden])
Date: 2002-06-21 14:22:02


From: "Paul Mensonides" <pmenso57_at_[hidden]>

> For your amusement Boosters...
>
> Multi-character literals give us a small, limited, and highly platform
> specific way of passing string literals as arguments:
>
> The following code works as desired on Comeau C++:

a. What's "as desired?"

> #include <iostream>
>
> template<int D> struct X {
> inline X() {
> const int v = I;

b. What's "I"? Maybe you meant "D"?


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