is a copy constructor needed?
i have a class, bitstream, which is called this way:
This code results in a crash. i'm thinking maybe i need a copy constructor. am i right?Code:main() { bitstream streamer("the"); dummy(streamer); return 0; } int dummy(bitstream x) {}