Topic: export keyword


Author: "Martin Bjornebye" <martinb@online.no>
Date: 2000/01/15
Raw View

Do any of you know if there are any
C++ compilers out there with support
for the 'export' keyword?

Regards,

Martin





[ comp.std.c++ is moderated.  To submit articles, try just posting with ]
[ your news-reader.  If that fails, use mailto:std-c++@ncar.ucar.edu    ]
[              --- Please see the FAQ before posting. ---               ]
[ FAQ: http://reality.sgi.com/austern_mti/std-c++/faq.html              ]






Author: Steve Clamage <stephen.clamage_nospam@eng.sun.com>
Date: 1997/09/19
Raw View
Aaron S. Binns wrote:
>
> I may be missing something obvious here, but in the Dec. 96 DWP ...
>
> ... there is an "export" keyword that can be used with template declarations.
> I assume it was just an oversight that "export" is _not_ listed as a keyword
> in Table 3 of section 2.11 [lex.key].  Is this correct?

Yes, and the oversight was corrected in a later (non-public) draft.
--
Steve Clamage, stephen.clamage_nospam@eng.sun.com
( Note: remove "_nospam" when replying )
---
[ comp.std.c++ is moderated.  To submit articles: try just posting with      ]
[ your news-reader.  If that fails, use mailto:std-c++@ncar.ucar.edu         ]
[ FAQ:      http://reality.sgi.com/employees/austern_mti/std-c++/faq.html    ]
[ Policy:   http://reality.sgi.com/employees/austern_mti/std-c++/policy.html ]
[ Comments? mailto:std-c++-request@ncar.ucar.edu                             ]





Author: "Aaron S. Binns" <asbinn@rstcorp.com>
Date: 1997/09/17
Raw View
I may be missing something obvious here, but in the Dec. 96 DWP,

  14   Templates                                                  [temp]

  1 A template defines a family of types or functions.
            template-declaration:
                    exportopt template < template-parameter-list >
declaration
            template-parameter-list:

  6 A  non-inline  template  function  or a static data member template
is
    called an exported template if its definition is preceded by the
key-
    word  export  or  if it has been previously declared using the
keyword

So there is an "export" keyword that can be used with template
declarations.
I assume it was just an oversight that "export" is _not_ listed as a
keyword
in Table 3 of section 2.11 [lex.key].  Is this correct?



Aaron
---
[ comp.std.c++ is moderated.  To submit articles: Try just posting with your
                newsreader.  If that fails, use mailto:std-c++@ncar.ucar.edu
  comp.std.c++ FAQ: http://reality.sgi.com/austern/std-c++/faq.html
  Moderation policy: http://reality.sgi.com/austern/std-c++/policy.html
  Comments? mailto:std-c++-request@ncar.ucar.edu
]