reactivemarkets / toolbox-cpp

The Reactive C++ Toolbox is an open source library of C++20 components designed for efficient, asynchronous network applications on the Linux platform.
https://reactivemarkets.github.io/toolbox-cpp/
Other
21 stars 20 forks source link

GH-14 Added convenience headers #21

Closed rfernandes closed 5 years ago

rfernandes commented 5 years ago

Result of running:

for dir in *; do [[ -d $dir ]] && ls $dir/*.hpp | { head -n 16 io/Buffer.hpp; echo -e "\n#ifndef TOOLBOX_${dir^^}_HPP\n#define TOOLBOX_${dir^^}_HPP\n"; sed 's/.*\/\(.*\)/#include "\1"/'; echo -e "\n#endif // TOOLBOX_${dir^^}_HPP"; } > $dir/$dir.new && mv $dir/$dir.new $dir/$dir.hpp ; done