FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
cppfront/mixed-postfix-expression-custom-formatting.cpp at main · jnorthrup/cppfront · GitHub
jnorthrup
/
cppfront
Public
forked from
hsutter/cppfront
Notifications
You must be signed in to change notification settings
Fork
0
Star
0
Code
Pull requests
8
Actions
Projects
Security and quality
0
Insights
Additional navigation options
Code
Pull requests
Actions
Projects
Security and quality
Insights
Expand file tree
Breadcrumbs
cppfront
/
mixed-postfix-expression-custom-formatting.cpp
Copy path
More file actions
More file actions
Latest commit
History
History
History
44 lines (27 loc) · 1.89 KB
Breadcrumbs
cppfront
/
mixed-postfix-expression-custom-formatting.cpp
Copy path
File metadata and controls
44 lines (27 loc) · 1.89 KB
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
//
=== Cpp2 type declarations ====================================================
#
include
"
cpp2util.h
"
#
line
1 "regression-tests/mixed-postfix-expression-custom-formatting.cpp2"
//
=== Cpp2 type definitions and function declarations ===========================
#
line
1 "regression-tests/mixed-postfix-expression-custom-formatting.cpp2"
#
line
2 "regression-tests/mixed-postfix-expression-custom-formatting.cpp2"
auto
call
(
[[maybe_unused]]
auto
const
& unnamed_param_1,
[[maybe_unused]]
auto
const
& unnamed_param_2,
[[maybe_unused]]
auto
const
& unnamed_param_3,
[[maybe_unused]]
auto
const
& unnamed_param_4,
[[maybe_unused]]
auto
const
& unnamed_param_5) -> void;
[[nodiscard]]
auto
test
(
auto
const
& a) -> std::string;
#
line
15 "regression-tests/mixed-postfix-expression-custom-formatting.cpp2"
[[nodiscard]]
auto
main
() -> int;
//
=== Cpp2 function definitions =================================================
#
line
1 "regression-tests/mixed-postfix-expression-custom-formatting.cpp2"
#
line
2 "regression-tests/mixed-postfix-expression-custom-formatting.cpp2"
auto
call
(
[[maybe_unused]]
auto
const
& unnamed_param_1,
[[maybe_unused]]
auto
const
& unnamed_param_2,
[[maybe_unused]]
auto
const
& unnamed_param_3,
[[maybe_unused]]
auto
const
& unnamed_param_4,
[[maybe_unused]]
auto
const
& unnamed_param_5) -> void{}
#
line
4 "regression-tests/mixed-postfix-expression-custom-formatting.cpp2"
[[nodiscard]]
auto
test
(
auto
const
& a) -> std::string{
return
call
(a,
++*
cpp2::impl::assert_not_null
(
CPP2_UFCS
(b)(a, a.
c
)),
"
hello
"
,
/*
polite
greeting
goes here
*/
"
there
"
,
CPP2_UFCS
(e)(a.
d
, ++
CPP2_UFCS
(g)(*
cpp2::impl::assert_not_null
(a.
f
)),
//
because f is foobar
CPP2_UFCS
(i)(a.
h
),
CPP2_UFCS
(j)(a, a.
k
, a.
l
))
);
}
#
line
15 "regression-tests/mixed-postfix-expression-custom-formatting.cpp2"
[[nodiscard]]
auto
main
() -> int{}
Back
|
FazBrowse Home
|
New Git URL