Skip to content

Latest commit

 

History

History
26 lines (26 loc) · 1.85 KB

README.md

File metadata and controls

26 lines (26 loc) · 1.85 KB

Contents

Naming Convention
Compiler
Compilation errors?
Future work

Naming Convention

Macros are all written in capital letter.
For those which do not use capital letter in the begining (such as algorithm.hpp), it contains only functions.
For those which have I in the begining (such as IThreadPoolItemBase.hpp), it means they are struct and have pure functions.
For those which have C in the begining (such as CAtomic_stack.hpp), it means they are Class.
For those which do not have I or C and begin with capital letter (such as Atomic_flag.hpp), it means they are struct. (One exception is Boolean, this may be modified in the future.)
The old naming convention is CamelCase. (See QuantumCircuit and ThreadPool)
The new naming convention uses underscores to separate words.

Compiler

Visual Studio 2017 15.5.5
g++ 7.2.1
clang++ 5.0.1

Compilation errors?

If you get error C4996 when you compile insert_iterator.cpp by Visual Studio, see this.

Future work

constexpr
replace ::value with _v
noexcept
replace using with static_assert
memory order
style change (replace {} with ())