mdds
Loading...
Searching...
No Matches
mdds::mtv::shared_block_error Class Reference

#include <types.hpp>

Inheritance diagram for mdds::mtv::shared_block_error:
mdds::general_error

Public Member Functions

 shared_block_error (const std::string &msg)
Public Member Functions inherited from mdds::general_error
 general_error (const ::std::string &msg)
virtual const char * what () const noexcept

Detailed Description

Exception thrown when a method that requires the container to be the sole owner of its element blocks is called while the container is still borrowing blocks shared under copy-on-write. Call detach() first to make the container the sole owner of its element blocks.