Namespaces
Variants
Views
Actions

Difference between revisions of "Template:named req"

From cppreference.com
(tt -> code)
m (Apply {{tl params}} for documentation part.)
 
(7 intermediate revisions by 5 users not shown)
Line 1: Line 1:
{{#if: {{{1|}}} |[[cpp/concept/{{trim|{{{1|}}}}}|<code>{{trim|{{{1|}}}}}</code>]]| {{error|no concept given}} }}<noinclude>
+
{{#if:{{{1|}}}|<!--
 +
-->[[cpp/named_req/{{trim|{{{1|}}}}}|{{#if:{{{2|}}}|{{trim|{{{2|}}}}}|{{named_req/core|{{trim|{{{1|}}}}}}}}}]]|<!--
 +
-->{{error|no concept given}}}}<!--
 +
--><noinclude><br>Usage:<br>
 +
{{tl params|named req|NamedRequirement,visible-text?}}<br>
 +
Example: {{tl|named req|Copyable}} results in {{named req|Copyable}}<br>
 +
Example: {{tl|named req|Copyable|A copyable object}} results in {{named req|Copyable|A copyable object}}
 
</noinclude>
 
</noinclude>

Latest revision as of 15:38, 21 October 2024

no concept given
Usage:
{{named req|NamedRequirement |visible-text (optional)}}
Example: {{named req|Copyable}} results in Copyable
Example: {{named req|Copyable|A copyable object}} results in A copyable object