How do you reconcile common C++ naming conventions with those of the libraries

前端 未结 10 2095
执笔经年
执笔经年 2020-12-24 01:14

Most C++ naming conventions dictate the use of camelCaseIdentifiers: names that start with an uppercase letter for classes (Person, Booking

10条回答
  •  青春惊慌失措
    2020-12-24 01:38

    Fav quote::

    The best thing about standards is that there are so many to choose from!

    My suggestion would be to take the library's convention that occurs in your company's code most often (probably the C++ library, which I believe boost sticks to as well), and make that your standard. Otherwise, you might as well not have one at all.

提交回复
热议问题