centralizing 'export'

Phil Edwards phil@jaj.com
Wed Jun 12 14:34:00 GMT 2002


Right now we have a bunch of headers which all end with

    #ifdef _GLIBCPP_NO_TEMPLATE_EXPORT
    # define export
      ... do something unique to this file ...
    #endif

As part of cleaning up the STL headers and splitting the definitions out
into tcc files, I think I'm going to move

    #ifdef _GLIBCPP_NO_TEMPLATE_EXPORT
    # define export
    #endif

to c++config, and leave

    #ifdef _GLIBCPP_NO_TEMPLATE_EXPORT
      ... do something unique to this file ...
    #endif

behind in the headers.

This will have zero effect, since valarray is the only class actually
declaring anything as 'export', and that file was already inside a '#define
export' region of code.  But it's slightly cleaner.


Phil

-- 
If ye love wealth greater than liberty, the tranquility of servitude greater
than the animating contest for freedom, go home and leave us in peace.  We seek
not your counsel, nor your arms.  Crouch down and lick the hand that feeds you;
and may posterity forget that ye were our countrymen.            - Samuel Adams



More information about the Libstdc++ mailing list