Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Sandbox to test configurations for bjam travis coveralls and appveyor

Notifications You must be signed in to change notification settings

rafald/cpp_sandbox

Open more actions menu

Repository files navigation

Boost Licence

Bitdeli Badge

Travis Status

Build Status

Coverage Status

Version

Github Issues

Codeship Status for rafald/cpp_sandbox

cpp_sandbox

Sandbox to experiment with:

  • travis and coveralls integration
  • bjam / Boost.Testing build tool
  • modern C++ features

C++ tips:

  • reverse_iterators refer/dereference to the position right before the one they’re initialized with:
    • so for range it is ok to specify range: std::reverse_iterator(end_it), std::reverse_iterator(begin_it)
    • for translation of single iterator: std::reverse_iterator( std::next(iter) ) ) so iter can not be end()
  • more stuff goes here ...

Gurus:

  • Sean Parent
    • Write all code as if it where a library you intend to submit for standardization.

    • Focus on the interface.

    • Borrow, don’t invent.

    • Write complete and efficient types.

    • Use algorithms instead of loops.

    • Avoid inheritance and owning pointers in your interface.

    • Make your data structures explicit.

    • Use a task system, message queues, futures with continuations, and parallel algorithms, instead of threads, mutexes, semaphores, and condition variables. It is important to be able to scale down to a single thread as well as up to many.

    • Embrace nothingness.

    • Finally, don’t worry about how much space there is around parentheses, what line the curly brace goes, or if you use spaces or tabs. These are bike-shed arguments.

About

Sandbox to test configurations for bjam travis coveralls and appveyor

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Morty Proxy This is a proxified and sanitized view of the page, visit original site.