Everything2
Near Matches
Ignore Exact
Full Text
Everything2

export

created by ChesterCramme

(thing) by Xeger (6.8 d) (print)   ?   Tue Sep 17 2002 at 22:20:03

export is a little-known keyword listed in the ANSI standard for the C++ programming language. Rarely (if ever!) implemented by compiler writers, the purpose of export is to allow templated class definitions to be compiled to an intermediate form so that they can be reused between projects, included in multiple compilation units, or given to strangers (possibly in exchange for candy) without the need to include the entire templated class declaration and recompile it every time it's used. An example of its usage:
export template class Foo
{
    T value;

public:
    Foo(T initValue)
        {value = initValue;}

    T negate()
        {return -value;}
};
Most compilers recognize the keyword, but treat it as a no-op. To date, only two compilers even pretend to support the keyword: Comeau C++ and Edison C++. The Edison Design Group (creators of Edison C++) license compilers to Microsoft, so it's always possible that support for export will eventually make its way into Microsoft's development suite, and thus into widespread usage. With Microsoft's increasing focus on .NET, however, this is unlikely.

(definition) by Webster 1913 (print) Tue Dec 21 1999 at 23:33:27

Ex*port" (?), v. t. [imp. & p. p. Exported; p. pr. & vb. n. Exporting.] [L. exportare, exportatum; ex out+portare to carry : cf. F. exporter. See Port demeanor.]

1.

To carry away; to remove.

[Obs.]

[They] export honor from a man, and make him a return in envy. Bacon.

2.

To carry or send abroad, or out of a country, especially to foreign countries, as merchandise or commodities in the way of commerce; -- the opposite of import; as, to export grain, cotton, cattle, goods, etc.

 

© Webster 1913.


Ex"port (?), n.

1.

The act of exporting; exportation; as, to prohibit the export of wheat or tobacco.

2.

That which is exported; a commodity conveyed from one country or State to another in the way of traffic; -- used chiefly in the plural, exports.

The ordinary course of exchange . . . between two places must likewise be an indication of the ordinary course of their exports and imports. A. Smith.

 

© Webster 1913.


printable version
chaos

setenv C++: function templates and information hiding /etc/exports The C++ Programming Language
EPZ Pork War Korn shell C++
Theory of Intrinsic Intelligence national culture RC2 letter of credit
The Silver Darlings nederwiet Why noding about your personal life can be a bad idea Arms Export Control Act
How video game art is created Made in Japan environment How to fight Globalization
CSS Arturo Fuente Brian the Snail Br
Y'know, if you log in, you can write something here, or contact authors directly on the site. Create a New User if you don't already have an account.
  Epicenter
Login
Password

password reminder
register

Everything2 Help

Cool Staff Picks
The best nodes of all time:
Sgt. Kenneth Lancaster
Memento
Barry Goldwater
Cheesecake
Muhammad
The Atrocities of Vlad III of Wallachia
Body language
Forget women - here's what men want
M. Butterfly
Perl
lasagne
Arizona
Taoist alchemy
New Writeups
locke baron
Tyan Thunder K8WE(thing)
locke baron
Udaloy class destroyer(thing)
Scaevola
Same-sex marriage(idea)
SteveMurrayFromNZ
Waiver(idea)
nailbiter
nerve stapling(thing)
locke baron
Multiple Myeloma(thing)
SubSane
blonde, freckles, skinny, short(person)
arcanamundi
A Ruba'iyat for May(person)
riverrun
Timed Writing(idea)
auraseer
Fling(fiction)
StrawberryFrog
Iron Man(review)
devolution
Misogyny and Porn, East to West - An Empirical Analysis(idea)
devolution
Korea is a place that refuses to stand still(idea)
Beanie127
The Pacifist Soldier(fiction)
VergilKint
Distilled from Dreams(fiction)
This page courtesy of The Everything Development Company