Anypia Programmer's Documentation
ContentsIndexHome
PreviousUpNext
BitAnnual::BitAnnual Constructor (BitAnnual&)

Copies all values from the BitAnnual argument to this instance.

C++
BitAnnual(
    const BitAnnual& bitAnnual
);
Parameters 
Description 
const BitAnnual& bitAnnual 
The BitAnnual to copy from. 

On the linux system, data is a vector of BitPacked's -- so the constructor needs to know how many to create. On other systems (which conform to the standard and have a std::bitset class built in), data is a std::bitset and doesn't need any parameters because the default constructor initializes all of the bits to zero.

Copyright (c) 2010. All rights reserved.
What do you think about this topic? Send feedback!