acme
Foundational cross-platform layer of the ca2 framework
Toggle main menu visibility
Loading...
Searching...
No Matches
aaa_string_wide_conversion.h
1
#pragma once
2
3
4
#include "string.h"
5
6
7
template
<
typename
STRING_CATCHER >
8
class
CLASS_DECL_ACME catch_as_wstring :
9
public
wstring
10
{
11
public
:
12
13
14
STRING_CATCHER & m_stringCatcher;
15
16
17
catch_as_wstring(STRING_CATCHER & stringCatcher, ::i32 iAllocCount) :
18
m_stringCatcher(stringCatcher)
19
{
20
21
get_buffer(iAllocCount);
22
23
}
24
25
26
~catch_as_wstring()
27
{
28
29
m_stringCatcher = m_pdata;
30
31
}
32
33
34
inline
operator
const ::wide_character * () {
return
this->m_pdata; }
35
inline
operator ::wide_character * () {
return
this->m_pdata; }
36
37
38
};
39
40
41
prototype
string
aaa_string_wide_conversion.h
Generated by
1.17.0