src/storage/storage.hpp
/// Creates a const storage object from a const string
/// @param str is a const std::string
/// @return the storage adapter
Creates a const storage object from a const string
Creates a const storage object from a const string
inline const_storage storage(const std::string& str)
{
    uint64_t size = static_cast<uint64_t>(str.size());
    const uint8_t* data = reinterpret_cast<const uint8_t*>(str.data());
    return const_storage(data, size);
}
inline const_storage storage ( const std :: string & str ) { uint64_t size = static_cast < uint64_t > ( str . size ( ) ) ; const uint8_t * data = reinterpret_cast < const uint8_t * > ( str . data ( ) ) ; return const_storage ( data , size ) ; }
Creates a const storage object from a const string
Creates a const storage object from a const string