Skip to content

Instantly share code, notes, and snippets.

Vittorio Romeo SuperV1234

Block or report user

Report or block SuperV1234

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@SuperV1234
SuperV1234 / hello_triangle.cpp
Created Oct 10, 2015
SDL2 + OpenGL ES 2.0 - "Hello triangle" example that works both on X11 and Emscripten
View hello_triangle.cpp
#include <exception>
#include <functional>
#ifdef __EMSCRIPTEN__
#include <emscripten.h>
#include <SDL.h>
#include <SDL_image.h>
#include <SDL_ttf.h>
View fastdelegatetests2.cpp
#ifndef FASTDELEGATE_H
#define FASTDELEGATE_H
#include <cstring>
#include <type_traits>
#include <cassert>
#include <cstddef>
#include <memory>
#include <new>
#include <utility>
View rtrsd_servicefindermultiplexer_wip.h
// rtrsd_servicefindermultiplexer.h -*-C++-*-
#ifndef INCLUDED_RTRSD_SERVICEFINDERMULTIPLEXER
#define INCLUDED_RTRSD_SERVICEFINDERMULTIPLEXER
#include <rtrsd_servicefinderi.h>
#include <rtrsd_servicemajor.h>
#include <rtrsd_serviceregistry.h>
#include <bslma_managedptr.h>
@SuperV1234
SuperV1234 / FastFunc.hpp
Last active Sep 5, 2018
Don Clugston's fast delegate C++11 implementation
View FastFunc.hpp
#ifndef SSVU_FASTFUNC
#define SSVU_FASTFUNC
#include <cstring>
#include <type_traits>
#include <cassert>
#include <cstddef>
#include <memory>
#include <new>
#include <utility>
View FastFuncTemp.hpp
#ifndef SSVU_FASTFUNC
#define SSVU_FASTFUNC
#include <cstring>
#include <type_traits>
#include <cassert>
#include <cstddef>
#include <memory>
#include <new>
#include <utility>
View vrm_pp_sh.hpp
// generated with `unosolo`
// https://github.com/SuperV1234/unosolo
#pragma once
View vrm_core_sh.hpp
// generated with `unosolo`
// https://github.com/SuperV1234/unosolo
#pragma once
View vrm_core_sh.hpp
// generated with `unosolo`
// https://github.com/SuperV1234/unosolo
#pragma once
View function_ref_ub.cpp
#include <functional>
#include <utility>
#include <type_traits>
#include <iostream>
template <typename TSignature>
class function_ref;
template <typename TReturn, typename... TArgs>
class function_ref<TReturn(TArgs...)> final
View function_view.hpp
#include <type_traits>
#include <utility>
#ifdef __clang__
namespace std
{
template <typename T, typename... Ts>
using is_invocable = std::is_callable<T(Ts...)>;
}
#endif
You can’t perform that action at this time.