Skip to content

Commit 7504536

Browse files
Update guidelines.
Change-Id: Ia22cfdd30d6e498a45c4718609387154b184edc6
1 parent 6286f24 commit 7504536

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

documentation/GUIDELINES.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,8 @@ File to cover guidelines for NEO project.
88
* avoid defines for constants, use constexpr
99
* prefer forward declarations in headers
1010
* avoid includes in headers unless absolutely necessary
11+
* use of exceptions in driver code needs strong justification
12+
* prefer static create methods returning std::unique_ptr instead of throwing from constructor
1113

1214
# Naming conventions
1315

0 commit comments

Comments
 (0)