I need to declare a boost::array. I did it as boost::array<char, 116> buf;
is there a possibility that I can declare with the size stored as a constant that is initialized from property file. something like boost::array<char, BUFFER_SIZE> buf;
Any Help?
No. If you want a dynamically sizable array, use a
std::vectorReason for No is that the template parameter cannot be provided at run time (caveat: current standard)