|
|
От: |
uzhas
|
|
| Дата: | 09.11.11 17:47 | ||
| Оценка: | |||
__>unique_ptr
__>{
__> ...
__> _OPERATOR_BOOL() const
__> { // test for non-null pointer
__> return (this->_Myptr != pointer() ? _CONVERTIBLE_TO_TRUE : 0);
__> }
__>}
__>