C++Guns – RoboBlog

27.10.2015

Enum Array replacement - some kind of

Filed under: Allgemein — Tags: — Thomas @ 18:10

Type safe enum class replace with normal class. Used as an index (key) type for continuous containers like std::vector / std::array instead of std::map etc. Pro: Fun. Con: dynamic indice. myEnumIdx.somedata = 100000; can blow up the hole thing. For static enum array see http://fcppt.org/da/dcf/classfcppt_1_1container_1_1enum__array.html#af01f0518d2f63f4fd47eb5c510855c63 http://fcppt.org/d6/ddd/group__fcpptenum.html #include <vector> template<typename Key, typename Value> class EnumArray { […]

06.10.2015

Infiniband Cluster

Filed under: Allgemein — Thomas @ 20:10

LD_LIBRARY_PATH=/home/kater/bin/ las2txt64 -parse xyz -odir . -i 47605560_all_thin.las -keep_class 2 GIT Repair Permissions The repository isn't configured to be a shared repository (see core.sharedRepository in git help config). If the output of: git config core.sharedRepository is not group or true or 1 or some mask, try running: git config core.sharedRepository group cd /path/to/repo.git chgrp -R […]

Powered by WordPress