Skip to content

Instantly share code, notes, and snippets.

View SeokminHong's full-sized avatar

Seokmin Hong SeokminHong

View GitHub Profile
use std::marker::PhantomData;
struct True {}
struct False {}
trait Boolean {
type Out;
}
struct BoolOp<T1, T2> {
t: PhantomData<(T1, T2)>,
}
 아쏜석   처샤져  쌱셔산썩  사아우아아
밯     빠   부 아   아   아
 산썩수  우   주 샥쏘뻐사    싹
    맣 석   차 뽀  아    희
어어샤여   아아아  오   아   우
#include <stdio.h>
#define sun int a[1000], *p=a; int main() {
#define mercury p++; // > command
#define venus p--; // < command
#define earth (*p)++; // + command
#define mars (*p)--; // - command
#define jupiter putchar(*p); // . command
#define saturn *p=getchar(); // , command
#define uranus while(*p){ // [ command
#define neptune if(!*p)break;} // ] command