You probably didn't put here the *exact* code that you test.
Anyway: apply << operator to the stream, not to the pointer or shared_ptr; ensure you flushed the stream.

>
> when im doing *Foo::iStream << c <<".\n";
> im getting
> error C2100: illegal indirection
>


Get news, entertainment and everything you care about at Live.com. Check it out!