| 6 | { |
| 7 | public: |
| 8 | custom_buffer_t( |
| 9 | std::unique_ptr< char[] > buf, |
| 10 | std::size_t buf_size ) |
| 11 | : m_buf{ std::move( buf ) } |
| 12 | , m_buf_size{ buf_size } |
| 13 | {} |
| 14 | |
| 15 | // No copy, only moves. |
| 16 | custom_buffer_t( const custom_buffer_t & ) = delete; |
nothing calls this directly
no outgoing calls
no test coverage detected