OpenXRay/xray-16

Get rid of Loki

Offen

#240 geöffnet am 09.09.2018

 (3 Kommentare) (2 Reaktionen) (0 zugewiesene Personen)C++ (519 Forks)auto 404
Code QualityExternal (3rd party)Help wantedPortability

Repository-Metriken

Stars
 (3.524 Sterne)
PR-Merge-Metriken
 (PR-Metriken ausstehend)

Beschreibung

Loki is a C++ library found in the sdk folder. There are several reasons to remove it:

  • Most of the stuff of this library, written for C++98 by Andrei Alexandrescu, can be found in C++11, e.g. Loki::Select is just std::conditional, Loki::IsSameType can be replaced with std::is_same.
  • Some of the code does not compile in GCC. (With some changes, it compiled in GCC)
  • The things that haven't been included in modern C++, can be rewritten with fewer lines of code.
  • It's barely used.

Contributor Guide