Skip to content

Commit

Permalink
Update C++17_Attributes.txt
Browse files Browse the repository at this point in the history
  • Loading branch information
shubhangi47 authored May 22, 2023
1 parent b0a22fe commit 4bcd91c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion C++17_Attributes.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
C++17 Attributes.
********* C++17 Attributes **********

1. [[fallthrough]] - In C++17 and on, a standard attribute was introduced to indicate that the warning is not needed when the code is meant to fall through.
With this attribute, you can now merge the bodies of two adjacent case branches in a switch without getting any warnings from the compiler.
Expand Down

0 comments on commit 4bcd91c

Please sign in to comment.