libER 0.1.4.2
ELDEN RING API library
Loading...
Searching...
No Matches
from_string.hpp
Go to the documentation of this file.
1
8#pragma once
9
10#if defined(_ITERATOR_DEBUG_LEVEL) && _ITERATOR_DEBUG_LEVEL > 0
11#error "_ITERATOR_DEBUG_LEVEL" must be defined as "0" for STL containers to be compatible with the ELDEN RING ABI.
12#endif
13
15#include <string>
16
17namespace from {
22template <typename CharT, typename Traits = std::char_traits<CharT>,
23 typename AllocatorTag = from::default_allocator_tag>
25 std::basic_string<CharT, Traits, from::allocator<CharT, AllocatorTag>>;
26
36
46
56
66
67// Compile time size checks - failing these means binary incompatibility
68static_assert(sizeof(from::string) == 40, "ELDEN RING ABI requirement");
69static_assert(sizeof(from::ebstring) == 32, "ELDEN RING ABI requirement");
70} // namespace from
ELDEN RING allocation interface and from::allocator.
from::basic_string< wchar_t, std::char_traits< wchar_t >, from::default_allocator_tag > wstring
std::wstring with from::allocator.
Definition from_string.hpp:45
std::basic_string< CharT, Traits, from::allocator< CharT, AllocatorTag > > basic_string
std::basic_string with from::allocator.
Definition from_string.hpp:25
from::basic_string< char, std::char_traits< char >, from::default_allocator_tag > string
std::string with from::allocator.
Definition from_string.hpp:35
from::basic_string< wchar_t, std::char_traits< wchar_t >, from::default_empty_base_allocator_tag > ebwstring
std::wstring with from::allocator that is empty.
Definition from_string.hpp:65
from::basic_string< char, std::char_traits< char >, from::default_empty_base_allocator_tag > ebstring
std::string with from::allocator that is empty.
Definition from_string.hpp:55
Default libER allocator that gets embedded in objects as needed for ER ABI compatibility.
Definition from_allocator.hpp:285
Default libER allocator with an empty base.
Definition from_allocator.hpp:294