MeshLib C# Docs
Loading...
Searching...
No Matches
MR.Std._ByValue_String Class Reference

This is used as a function parameter when the underlying function receives String by value. Usage: More...

Public Member Functions

 _ByValue_String (Const_String new_value)
 
 _ByValue_String (MR.Misc._Moved< String > moved)
 

Static Public Member Functions

static implicit operator _ByValue_String (Const_String arg)
 
static implicit operator _ByValue_String (MR.Misc._Moved< String > arg)
 
static unsafe implicit operator _ByValue_String (string other)
 Constructs a new instance.
 

Detailed Description

This is used as a function parameter when the underlying function receives String by value. Usage:

  • Pass new() to default-construct the instance.
  • Pass an instance of String/Const_String to copy it into the function.
  • Pass Move(instance) to move it into the function. This is a more efficient form of copying that might invalidate the input object. Be careful if your input isn't a unique reference to this object.
  • Pass null to use the default argument, assuming the parameter has a default argument (has ? in the type).

The documentation for this class was generated from the following file: