Boost logo

Boost :

From: Alexander Terekhov (terekhov_at_[hidden])
Date: 2004-03-10 12:09:04


Beman Dawes wrote:
[...]
> 22.2.7.1 specifies catalog:
>
> typedef int catalog;
>
> There doesn't seem to be any text AFAICS that would allow any type other
> than int. What library and version does vacpp use?

Dinkum C++ Library. It appears that in the AIX version they use
"typedef nl_catd catalog;", not

http://www.ibm.com/support/docview.wss?uid=swg27002104&aid=1

<quote>

class messages_base {
    typedef int catalog;
    };

The class describes a type common to all specializations of template
class messages (page 221). The type catalog is a synonym for type int
that describes the possible return values from messages::do_open.

</quote>

as documented (and required by the C++ standard). IIUC, the "real
problem" is that under POSIX nl_catd doesn't need to be an int.

regards,
alexander.


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