We welcome community contributions to the OpenVINO™ repository. If you have an idea how to improve the product, please share it with us doing the following steps:
- Make sure you can build the product and run all tests and samples with your patch
- In case of a larger feature, provide relevant unit tests and one or more sample
- Submit a pull request at https://github.com/openvinotoolkit/openvino/pulls
We basically use the Google style (https://google.github.io/styleguide/cppguide.html) with some exceptions:
- 4 spaces instead of 2 spaces for indentations
- Limitation of 160 symbols for the line length
- Exceptions are allowed
- Using namespace are allowed in cpp and prohibited in headers
- Underscore symbol before member in classes/structures
- thisStyleForFunctions()
- theSameStyleForVariables