Skip to content

Commit 8e15cf3

Browse files
committed
update description
1 parent d95decb commit 8e15cf3

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

smart_pointer_type_trait.hpp

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,9 @@
11
// ==========================================================================
2-
// type traits for smart pointers.
3-
// supporting is_unique_ptr< T >, is_shared_ptr< T >, is_smart_ptr< T >, is_ptr< T >
4-
// usage is like std::is_pointer< T >.
5-
//
2+
// Type Traits for smart pointers
3+
// Supporting is_unique_ptr< T >, is_shared_ptr< T >, is_smart_ptr< T >, is_ptr< T >
4+
// Usage is like std::is_pointer< T >.
5+
// Soft version type traits additionally evalute a derived class from a pointer as true.
6+
// Just write "soft" after a type_trait to embrace inheritance.
67
// ==========================================================================
78

89
#ifndef _smart_pointer_type_trait

0 commit comments

Comments
 (0)