You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+9-12Lines changed: 9 additions & 12 deletions
Original file line number
Diff line number
Diff line change
@@ -10,10 +10,16 @@ The patch aims at implementing the proposals:
10
10
*PS: The patch implements, for now, unpublished revisions of those proposals.
11
11
The links will be changed once said revisions are published*.
12
12
13
+
## Try It
14
+
15
+
You can try the compiler live [here](http://www.gcc-abbreviated-lambdas-proposal.tk/).
16
+
17
+
I'm hosting a ubuntu build of the compiler on a Amazon EC2 server and running [compiler explorer](https://github.com/mattgodbolt/compiler-explorer) on it.
18
+
13
19
## Implementation status:
14
-
* adds an abbreviated syntax for lambdas and function [OK]
20
+
* adds an abbreviated syntax for lambdas and function/members[OK]
15
21
* uses *decltype\(\(ret_expr\)\)* as deduced return type when used [OK]
16
-
* uses *noexcept(noexcept(ret_expr))* as deduced exception specification [KO]
22
+
* uses *noexcept(noexcept(ret_expr))* as deduced exception specification [OK]
17
23
* optional type for lambda's arguments [OK]
18
24
19
25
## Example
@@ -33,12 +39,6 @@ constexpr auto f(T&& x) => x; //allowed with functions too
33
39
[](x...) {}; //same as [](auto&&... x) {}
34
40
```
35
41
36
-
## Try It
37
-
38
-
You can try the compiler live [here](http://www.gcc-abbreviated-lambdas-proposal.tk/).
39
-
40
-
I'm hosting a ubuntu build of the compiler on a Amazon EC2 server and running [compiler explorer](https://github.com/mattgodbolt/compiler-explorer) on it.
41
-
42
42
## How to use localy
43
43
44
44
Simply run make, sit back and wait.
@@ -50,11 +50,8 @@ It will:
50
50
* install gcc in $(PWD)/gcc/install/
51
51
* compile test.cpp with the new g++.
52
52
53
-
By default gcc is configured with the following options:
53
+
By default gcc will be configured with the following options:
54
54
* --disable-bootstrap //build gcc using the produced gcc
55
55
* --disable-multilib //cross-compiling
56
56
* --disable-shared //doesn't build shared standard library
57
57
Simply remove them from the gcc/build command from Makefile if you want to change the default behavior.
58
-
59
-
## Todo/bugs
60
-
* noexcept(noexcept(ret_expr)) is not functional yet.
0 commit comments