Skip to content

Commit bf79f77

Browse files
committed
test03.cpp
1 parent 6fde5bf commit bf79f77

1 file changed

Lines changed: 7 additions & 0 deletions

File tree

section1/test03.cpp

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,13 @@ void case1()
3838
cout << "running on others" << endl;
3939
#endif //__linux__
4040

41+
42+
#if defined(__cpp_decltype_auto)
43+
cout << "decltype(auto) enable" << endl;
44+
#else
45+
cout << "decltype(auto) disable" << endl;
46+
#endif //__cpp_decltype_auto
47+
4148
#ifndef NDEBUG
4249
cout << "debug mode" << endl;
4350
#endif // NDEBUG

0 commit comments

Comments
 (0)