Thread
:
Doom 3 / Movie
View Single Post
#
10
08-06-2004, 11:09 AM
Cisyouc
Demi-God
Join Date: Jun 2004
Location: Heaven.
Posts: 1,260
The text was hard to read, but other than that it was pretty good.
(Try removing the shadow.)
__________________
namespace
retval {
template
<
class
T>
class
ReturnValueGen {
private
: T x;
public
: ReturnValueGen() { x = 0; }; T& Generator() {
return
x; }; }; }
int
main() { retval::ReturnValueGen<
int
> retvalue;
return
retvalue.Generator(); }
C++ is
wonderful.
Cisyouc
View Public Profile
Send a private message to Cisyouc
Find all posts by Cisyouc