I have array of pointers:
private:
LimitOrder* orders[Size];
In constructor i'm trying to fill it with NULL:
InternalIdAssigner::InternalIdAssigner(void):
lastCleanId(0)
{
std::fill(orders, orders + Size, NULL);
But this doesn't work, I receive error: error C2440: '=' : cannot convert from 'const int' to 'LimitOrder *'
What is the right way to fill array field with NULL?
orders()to your initializer list.