8000 GitHub - finger-bone/algorithm-templates-cxx
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

finger-bone/algorithm-templates-cxx

Repository files navigation

Algorithm templates

Misc

It was written

  • in c++23, but uses only up to c++17 features .

  • the coding styles would be as follows

    • snake_case for variables and functions
    • PascalCase for classes and structs
    • UPPER_SNAKE_CASE for macros and constants
    • using namespace std; is used in the global scope
    • maximize the usage of standard library
    • minimize the usage of pointer
    • only in linked list, tree and other data structures, in which, there has to be indefinite number of nodes, pointer is used so that struct can be validly defined. However, only use raw pointers instead of smart pointers.
    • minimize the usage of bitwise operators, unless it is necessary. We believe that compilers are smart enough to optimize the code.

Contents

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

0