truth value smart_ptr conversion: examples

Do the examples, as well.