diff --git a/libaxx/Makefile b/libaxx/Makefile index 6911cbcb3..376bd6070 100644 --- a/libaxx/Makefile +++ b/libaxx/Makefile @@ -1,2 +1,4 @@ +SFLAGS += -Ilibaxx/include + objs += $(addprefix libaxx/src/, new.o) objs += $(addprefix libaxx/src/cxxabi/, atexit.o pure_virtual.o) diff --git a/libaxx/include/utility b/libaxx/include/utility new file mode 100644 index 000000000..883f176fb --- /dev/null +++ b/libaxx/include/utility @@ -0,0 +1,16 @@ +#ifndef LIBAXX_UTILITY +#define LIBAXX_UTILITY + +namespace std { + +template struct remove_reference {typedef T type;}; +template struct remove_reference {typedef T type;}; +template struct remove_reference {typedef T type;}; + +template typename remove_reference::type&& move(T&&) { + return a; +} + +} + +#endif