mirror of
https://github.com/isocpp/CppCoreGuidelines.git
synced 2024-03-22 13:30:58 +08:00
Formatting "explicit" as code
This commit is contained in:
parent
c0264f3831
commit
b724f71473
|
@ -5379,7 +5379,7 @@ If you really want an implicit conversion from the constructor argument type to
|
||||||
|
|
||||||
##### Note
|
##### Note
|
||||||
|
|
||||||
Copy and move constructors should not be made explicit because they do not perform conversions. Explicit copy/move constructors make passing and returning by value difficult.
|
Copy and move constructors should not be made `explicit` because they do not perform conversions. Explicit copy/move constructors make passing and returning by value difficult.
|
||||||
|
|
||||||
##### Enforcement
|
##### Enforcement
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user