“cpp/regex/basic regex/flags”的版本间的差异

来自cppreference.com
< cpp‎ | regex‎ | basic regex
(Translated from the English version using Google Translate)
 
 
(未显示4个用户的7个中间版本)
第1行: 第1行:
{{tr_note}}
 
 
{{cpp/regex/basic_regex/title|flags}}
 
{{cpp/regex/basic_regex/title|flags}}
 
{{cpp/regex/basic_regex/navbar}}
 
{{cpp/regex/basic_regex/navbar}}
{{ddcl | notes={{mark since c++11}} |
+
{{ddcl|sincec++11|
 
flag_type flags() const;
 
flag_type flags() const;
 
}}
 
}}
  
{{tr|。 返回 正则表达式语法标志设置在 构造函数 最后一次 调用{{rlpf|assign}}.|Returns the regular expression syntax flags as set in the constructor or the last call to {{rlpf|assign}}.}}
+
返回构造函数或最后一次 {{|assign}}
  
=== 参数 ===
+
===参数===
{{tr|。 (无) 。|(none)}}
+
 (无)
  
===
+
===返回值===
返回值 ===
+
前正则表达式语法标志
{{tr|。目 前正则表达式语法标志.|Current regular expression syntax flags.}}
+
  
===。例外。===
+
{{}}
{{tr|。 (无)。|(none)}}
+
  
=== 。为 ===
+
=== 例===
{{example
+
{{example
| code=
+
 
| output=
+
|}}
}}
+

2024年3月7日 (四) 06:21的最后版本

 
 
 
正则表达式库
(C++11)
算法
迭代器
异常
特征
常量
(C++11)
正则表达式文法
 
 
flag_type flags() const;
(C++11 起)

返回构造函数或最后一次到 assign() 调用中设置的正则表达式语法标志。

目录

[编辑] 参数

(无)

[编辑] 返回值

当前正则表达式语法标志。

[编辑] 异常

可能会抛出由实现定义的异常。

[编辑] 示例