Assuming your myQueue class isn't weird, yes, you will have two separate instances.
You might also be interested in make_shared
, which would let you write it like this:
auto _pA = std::make_shared<myQueue>();
auto _pB = std::make_shared<myQueue>();