How about a simple old school solution.
1. Pass the size of the array along with the array; otherwise you do not know its size.
2. Just assign it to a member variable.
This should do the trick:
class Channels
{
public:
void Configure(long channels[], size_t size)
{
_channels.assign(channels, channels+size);
}
private:
std::vector _channels;
}