Skip to content
parcollet edited this page Apr 16, 2012 · 2 revisions

C++ style for TRIQS

Uniformity helps using code and libraries...

In TRIQS, we use the standard STL/boost name scheme (at least for public/protected elements).

  • names of object, classes, functions are in lowercase, with underscores : name_it_like_this
  • template arguments are NamedLikeThis
  • macros are always in uppercase and start with TRIQS_ : TRIQS_NICE_MACRO
Clone this wiki locally