Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

C++11 std ref to ECMAScript (Javascript) spec?

In the C++11 standard document it says:

The following referenced documents are indispensable for the application of this document:

  • Ecma International, ECMAScript Language Specification, Standard Ecma-262, third edition, 1999.

What exactly is the dependency of the C++11 spec on the Javascript spec?

like image 565
Andrew Tomazos Avatar asked Jul 29 '26 02:07

Andrew Tomazos


1 Answers

The section "28.13 Modified ECMAScript regular expression grammar" depends on ECMA-262:

28.13 Modified ECMAScript regular expression grammar [re.grammar]

1 The regular expression grammar recognized by basic_regex objects constructed with the ECMAScript flag is that specified by ECMA-262, except as specified below.

The regular expression grammar is specified in section 15.10 RegExp (Regular Expression) Objects and A.7 Regular Expressions in ECMA-262.

like image 161
Zeta Avatar answered Jul 30 '26 17:07

Zeta



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!