Skip to content

Instantly share code, notes, and snippets.

#include <SSVUtils/SSVUtils.hpp>
using Idx = std::size_t;
using Ctr = int;
struct Manager;
class Handle;
struct Impl
{
@vittorioromeo
vittorioromeo / test.asm
Created May 5, 2014 09:01
x86 print/write tests
section .data
str: db 100
section .bss
section .text
global _start
_start:
#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