mirror of
https://github.com/isocpp/CppCoreGuidelines.git
synced 2025-12-17 12:44:42 +03:00
Formatting "explicit" as code
This commit is contained in:
@@ -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
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user