This is the mail archive of the libstdc++@gcc.gnu.org mailing list for the libstdc++ project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

centralizing 'export'


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]