Original link: http://www.concentric.net/~Ttwang/tech/inthash.htm
Taken from: http://web.archive.org/web/20071223173210/http://www.concentric.net/~Ttwang/tech/inthash.htm
Reformatted using pandoc
Thomas Wang, Jan 1997
last update Mar 2007
Original link: http://www.concentric.net/~Ttwang/tech/inthash.htm
Taken from: http://web.archive.org/web/20071223173210/http://www.concentric.net/~Ttwang/tech/inthash.htm
Reformatted using pandoc
Thomas Wang, Jan 1997
last update Mar 2007
/** | |
* Example of ZeroMQ pub/sub usage for C++11. | |
*/ | |
#include <zmqpp/zmqpp.hpp> | |
#include <iostream> | |
#include <chrono> | |
#include <thread> | |
using namespace std; |
# @file Astyle code automatic formatting settings | |
# @see http://astyle.sourceforge.net/astyle.html#_General_Information | |
# | |
# "One True Brace Style" uses linux brackets and adds brackets to unbracketed one line conditional statements. | |
# Opening brackets are broken from namespaces, classes, and function definitions. | |
# Brackets are attached to everything else including statements within a function, arrays, structs, and enums. | |
# In the following example brackets have been added to the "return 0;" statement. The option ??add?one?line?brackets can also be used with this style. | |
# | |
# int Foo(bool isBar) |