OpenXRay/xray-16

Get rid of Loki

開放

#240 建立於 2018年9月9日

 (3 則留言) (2 個反應) (0 位負責人)C++ (519 個分叉)auto 404
Code QualityExternal (3rd party)Help wantedPortability

倉庫指標

星標
 (3,524 顆星)
PR 合併指標
 (PR 指標待抓取)

描述

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.

貢獻者指南