#include <MRCMisc/common.h>
#include <MRCMisc/exports.h>
#include <stddef.h>
Go to the source code of this file.
◆ MR_std_pair_std_string_float
Stores two objects: std::string
and std::string
. 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_pair_std_string_float_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_pair_std_string_float_Construct()
Constructs the pair elementwise. Parameter first
can not be null. If first_end
is null, then first
is assumed to be null-terminated. Never returns null. Returns an instance allocated on the heap! Must call MR_std_pair_std_string_float_Destroy()
to free it when you're done using it.
◆ MR_std_pair_std_string_float_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_pair_std_string_float_Destroy()
to free it when you're done using it.
◆ MR_std_pair_std_string_float_DefaultConstruct()
Constructs an empty (default-constructed) instance. Never returns null. Returns an instance allocated on the heap! Must call MR_std_pair_std_string_float_Destroy()
to free it when you're done using it.
◆ MR_std_pair_std_string_float_DefaultConstructArray()
◆ MR_std_pair_std_string_float_Destroy()
Destroys a heap-allocated instance of MR_std_pair_std_string_float
. Does nothing if the pointer is null.
◆ MR_std_pair_std_string_float_DestroyArray()
Destroys a heap-allocated array of MR_std_pair_std_string_float
. Does nothing if the pointer is null.
◆ MR_std_pair_std_string_float_First()
The first of the two elements, read-only. Parameter _this
can not be null. It is a single object. The returned pointer will never be null. It is non-owning, do NOT destroy it.
◆ MR_std_pair_std_string_float_MutableFirst()
The first of the two elements, mutable. Parameter _this
can not be null. It is a single object. The returned pointer will never be null. It is non-owning, do NOT destroy it.
◆ MR_std_pair_std_string_float_MutableSecond()
The second of the two elements, mutable. Parameter _this
can not be null. It is a single object. The returned pointer will never be null. It is non-owning, do NOT destroy it.
◆ MR_std_pair_std_string_float_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_pair_std_string_float_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_pair_std_string_float_Second()
The second of the two elements, read-only. Parameter _this
can not be null. It is a single object. The returned pointer will never be null. It is non-owning, do NOT destroy it.