Skip to content

Instantly share code, notes, and snippets.

#include <SSVUtils/SSVUtils.hpp>
namespace Eng
{
template<typename TTokenType, typename TTokenDataType, typename TASTType> struct LangSpec
{
using TokenType = TTokenType;
using TokenDataType = TTokenDataType;
using ASTType = TASTType;
};
#!/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
#include <iostream>
#include <set>
#include <utility>
#include <cstddef>
#include <SSVUtils/SSVUtils.hpp>
namespace Internal
{
template<typename T> struct PtrComparator
{
// 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>
@vittorioromeo
vittorioromeo / mplTests.hpp
Created January 17, 2014 17:00
MPL tests
#include <SSVUtils/SSVUtils.hpp>
namespace ssvu
{
namespace MPL
{
template<typename...> struct List;
namespace Internal
{
@vittorioromeo
vittorioromeo / parsingTests.cpp
Created January 13, 2014 15:31
parsing tests
#include <iostream>
#include <SSVUtils/SSVUtils.hpp>
enum class Token
{
Num,
POpen,
PClose,
OpAdd,
OpSub
#!/bin/bash
gcc $1 -o /tmp/$1 && /tmp/$1
#!/bin/bash
clang++ "$@" -Wall -Wextra -Wpedantic -Wshadow -Wheader-hygiene -Wcast-align -Wconversion \
-Wmissing-declarations -Wunreachable-code
template<typename T> class AABBImpl
{
public:
using VecT = Vec2<T>;
private:
VecT position, halfSize;
public:
struct TagFromPosition { };
#include <list>
#include <SSVUtils/SSVUtils.hpp>
volatile bool state {false};
struct TestClass
{
volatile int k{0};
volatile int y{0};
volatile bool todel{false};