| 90 | namespace { |
| 91 | |
| 92 | class derived_from_path : |
| 93 | public fs::path |
| 94 | { |
| 95 | public: |
| 96 | derived_from_path() {} |
| 97 | derived_from_path(derived_from_path const& that) : fs::path(static_cast< fs::path const& >(that)) {} |
| 98 | template< typename T > |
| 99 | derived_from_path(T const& that) : fs::path(that) {} |
| 100 | |
| 101 | derived_from_path& operator= (derived_from_path const& that) |
| 102 | { |
| 103 | *static_cast< fs::path* >(this) = that; |
| 104 | return *this; |
| 105 | } |
| 106 | template< typename T > |
| 107 | derived_from_path& operator= (T const& that) |
| 108 | { |
| 109 | *static_cast< fs::path* >(this) = that; |
| 110 | return *this; |
| 111 | } |
| 112 | }; |
| 113 | |
| 114 | class convertible_to_path |
| 115 | { |
no outgoing calls