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> | |
struct meta_nil { }; | |
template <int I, typename _ty_cdr> | |
struct meta_cons { | |
static const int car = I; | |
typedef _ty_cdr cdr; | |
}; |
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 <stdlib.h> | |
#include <string.h> | |
#include <stdio.h> | |
void *__call_varg_impl(void *f, int n_args, void **argv) | |
{ | |
unsigned int param[n_args]; | |
int ret; | |
memcpy(param, argv, n_args * sizeof(void*)); |