tags:

views:

44

answers:

1

if not 8192, the complier tell me error

error C2446: '!=' : no conversion from 'boost::array *' to 'boost::array *' C:\boost\boost_1_42\boost\smart_ptr\shared_ptr.hpp 391

HOW to understand 8192?

A: 

Unlike std::vector (for one obvious comparison) a boost::array has a fixed size, which you have to pass as the second template parameter.

Jerry Coffin