-
Notifications
You must be signed in to change notification settings - Fork 17
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
91d6742
commit 67fa963
Showing
8 changed files
with
63 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
struct Optional | ||
{ | ||
template <typename Self> | ||
constexpr auto&& value(this Self&& self); | ||
|
||
template <typename Self> | ||
constexpr auto&& value(this Self&& self, int x); | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,48 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<mrdocs xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | ||
xsi:noNamespaceSchemaLocation="https://github.com/cppalliance/mrdocs/raw/develop/mrdocs.rnc"> | ||
<namespace id="//////////////////////////8="> | ||
<struct name="Optional" id="/TAtWMuvF+kz/B0ChmDlGQtnkaA="> | ||
<file path="explicit-object-parameter.cpp" line="1" class="def"/> | ||
<template> | ||
<tparam name="Self" class="type"/> | ||
<function name="value" id="XLLL4h9bZlRyA4AQMlfVPCuwMoU="> | ||
<file path="explicit-object-parameter.cpp" line="4"/> | ||
<attr id="constexpr-kind" name="constexpr" value="1"/> | ||
<attr id="is-explicit-object-member-function"/> | ||
<return> | ||
<type class="rvalue-reference"> | ||
<pointee-type name="auto"/> | ||
</type> | ||
</return> | ||
<param name="self"> | ||
<type class="rvalue-reference"> | ||
<pointee-type name="Self"/> | ||
</type> | ||
</param> | ||
</function> | ||
</template> | ||
<template> | ||
<tparam name="Self" class="type"/> | ||
<function name="value" id="aOpxAmSvyM7g6X3lLAJG5i3CTZA="> | ||
<file path="explicit-object-parameter.cpp" line="7"/> | ||
<attr id="constexpr-kind" name="constexpr" value="1"/> | ||
<attr id="is-explicit-object-member-function"/> | ||
<return> | ||
<type class="rvalue-reference"> | ||
<pointee-type name="auto"/> | ||
</type> | ||
</return> | ||
<param name="self"> | ||
<type class="rvalue-reference"> | ||
<pointee-type name="Self"/> | ||
</type> | ||
</param> | ||
<param name="x"> | ||
<type name="int"/> | ||
</param> | ||
</function> | ||
</template> | ||
</struct> | ||
</namespace> | ||
</mrdocs> |