We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6abf9a3 commit 004719aCopy full SHA for 004719a
site/source/docs/api_reference/val.h.rst
@@ -87,6 +87,16 @@ Guide material for this class can be found in :ref:`embind-val-guide`.
87
Creates and returns a new ``Object``.
88
89
90
+ .. cpp:function:: static val u8string(const char* s)
91
+
92
+ Creates a ``val`` from a string literal in UTF-8 encoding.
93
94
95
+ .. cpp:function:: static val u16string(const char16_t* s)
96
97
+ Creates a ``val`` from a string literal in UTF-16 encoding.
98
99
100
.. cpp:function:: static val undefined()
101
102
Creates a ``val`` that represents ``undefined``.
0 commit comments