18 years, 1 month ago
Highlights
Community contributions featuredIn the game each player has complete information about the current world (including position and number of (enemy) units/buildings, and number of (enemy) resources). There is ho…
18 years, 1 month ago
18 years, 1 month ago
I'm working on a simple turn-based strategy game. The game has two types of units (soldiers and transportation units) and two types of buildings (to create new units and to…
18 years, 1 month ago
The following code compiles without errors under Visual Studio 2005 class NoCopy { private: NoCopy(const NoCopy&); protected: NoCopy() {} ~NoCopy() {} }; class Foo : private…
18 years, 1 month ago
Hi Is there c++ standard library function that copies elements from a source vector to a destination vector if some unairy predicate is true? I'm looking for something like: cop…
20 years, 4 months ago
Latest Activity
See all in DiscussionsIn the game each player has complete information about the current world (including position and number of (enemy) units/buildings, and …
18 years, 1 month ago
I'm working on a simple turn-based strategy game. The game has two types of units (soldiers and transportation units) and …
18 years, 1 month ago
Quote:Original post by ZahlmanFor the code to be valid per the standard, it needs to have an accessible copy constructor, …
18 years, 1 month ago