#include <MRCMisc/common.h>
#include <MRCMisc/exports.h>
#include <stddef.h>
Go to the source code of this file.
◆ MR_std_optional_std_string
Stores either a single std::string or nothing. Supported MR_PassBy modes: MR_PassBy_DefaultConstruct, MR_PassBy_Copy, MR_PassBy_Move, (and MR_PassBy_DefaultArgument and MR_PassBy_NoObject if supported by the callee). 
 
 
◆ MR_std_string
◆ MR_std_optional_std_string_AssignFrom()
Assigns the contents. Parameter _this can not be null. It is a single object. If other_end is null, then other is assumed to be null-terminated. Non-null other_end requires a non-null other. Parameter other is optional. To keep it empty, pass a null pointer to both it and other_end. 
 
 
◆ MR_std_optional_std_string_AssignFromAnother()
Assigns the contents from another instance. Both objects remain alive after the call. Parameter _this can not be null. It is a single object. 
 
 
◆ MR_std_optional_std_string_ConstructFrom()
Constructs a new instance. If other_end is null, then other is assumed to be null-terminated. Non-null other_end requires a non-null other. Parameter other is optional. To keep it empty, pass a null pointer to both it and other_end. Never returns null. Returns an instance allocated on the heap! Must call MR_std_optional_std_string_Destroy() to free it when you're done using it. 
 
 
◆ MR_std_optional_std_string_ConstructFromAnother()
Constructs a copy of another instance. The source remains alive. Never returns null. Returns an instance allocated on the heap! Must call MR_std_optional_std_string_Destroy() to free it when you're done using it. 
 
 
◆ MR_std_optional_std_string_DefaultConstruct()
Constructs an empty (default-constructed) instance. Never returns null. Returns an instance allocated on the heap! Must call MR_std_optional_std_string_Destroy() to free it when you're done using it. 
 
 
◆ MR_std_optional_std_string_DefaultConstructArray()
◆ MR_std_optional_std_string_Destroy()
Destroys a heap-allocated instance of MR_std_optional_std_string. Does nothing if the pointer is null. 
 
 
◆ MR_std_optional_std_string_DestroyArray()
Destroys a heap-allocated array of MR_std_optional_std_string. Does nothing if the pointer is null. 
 
 
◆ MR_std_optional_std_string_MutableValue()
The stored element or null if none, mutable. Parameter _this can not be null. It is a single object. 
 
 
◆ MR_std_optional_std_string_OffsetMutablePtr()
Offsets a pointer to an array element by i positions (not bytes). Use only if you're certain that the pointer points to an array element. 
 
 
◆ MR_std_optional_std_string_OffsetPtr()
Offsets a pointer to an array element by i positions (not bytes). Use only if you're certain that the pointer points to an array element. 
 
 
◆ MR_std_optional_std_string_Value()
The stored element or null if none, read-only. Parameter _this can not be null. It is a single object.