Skip to content

Instantly share code, notes, and snippets.

template<class T> struct remove_member_pointer
{
using type = void;
};
template<class C, class T> struct remove_member_pointer<T C::*>
{
using type = T;
};
@lp2xb
lp2xb / sjis-to-utf8-with-bom.go
Last active June 17, 2021 22:30
sjis to utf8 with bom
package main
import (
"flag"
"io/fs"
"io/ioutil"
"log"
"os"
"path/filepath"