This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <SSVUtils/SSVUtils.hpp> | |
namespace Eng | |
{ | |
template<typename TTokenType, typename TTokenDataType, typename TASTType> struct LangSpec | |
{ | |
using TokenType = TTokenType; | |
using TokenDataType = TTokenDataType; | |
using ASTType = TASTType; | |
}; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
cd "/home/vittorioromeo/.PlayOnLinux/wineprefix/LeagueOfLegends/drive_c/Riot Games/League of Legends/RADS/system/" | |
wine "rads_user_kernel.exe" run lol_launcher $(ls ../projects/lol_launcher/releases/) LoLLauncher.exe |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <iostream> | |
#include <set> | |
#include <utility> | |
#include <cstddef> | |
#include <SSVUtils/SSVUtils.hpp> | |
namespace Internal | |
{ | |
template<typename T> struct PtrComparator | |
{ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Copyright (c) 2013-2014 Vittorio Romeo | |
// License: Academic Free License ("AFL") v. 3.0 | |
// AFL License page: http://opensource.org/licenses/AFL-3.0 | |
#ifndef SSVU_BIMAP | |
#define SSVU_BIMAP | |
#include <cassert> | |
#include <map> | |
#include <set> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <SSVUtils/SSVUtils.hpp> | |
namespace ssvu | |
{ | |
namespace MPL | |
{ | |
template<typename...> struct List; | |
namespace Internal | |
{ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <iostream> | |
#include <SSVUtils/SSVUtils.hpp> | |
enum class Token | |
{ | |
Num, | |
POpen, | |
PClose, | |
OpAdd, | |
OpSub |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
gcc $1 -o /tmp/$1 && /tmp/$1 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
clang++ "$@" -Wall -Wextra -Wpedantic -Wshadow -Wheader-hygiene -Wcast-align -Wconversion \ | |
-Wmissing-declarations -Wunreachable-code |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
template<typename T> class AABBImpl | |
{ | |
public: | |
using VecT = Vec2<T>; | |
private: | |
VecT position, halfSize; | |
public: | |
struct TagFromPosition { }; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <list> | |
#include <SSVUtils/SSVUtils.hpp> | |
volatile bool state {false}; | |
struct TestClass | |
{ | |
volatile int k{0}; | |
volatile int y{0}; | |
volatile bool todel{false}; |