카테고리 : 코드 요약보기전체보기목록닫기
- 템플릿 메타프로그래밍 연습 #3(0)2005.07.23
- 템플릿 메타프로그래밍 연습 #2(0)2005.07.23
- 템플릿 메타프로그래밍 연습 #1(2)2005.07.23
- 코드
- 2005/07/23 15:53
template <class T, class U>
class conversion
{
typedef char small;
class big { char dummy[2]; };
static small tes...
- 코드
- 2005/07/23 15:16
typedef unsigned long const fact_type;
template <unsigned long N>
struct factorial
{
static fact_type value = N * factorial<N-1>::value;
};
template <...
- 코드
- 2005/07/23 04:05
#include <boost/mpl/deref.hpp>
#include <boost/mpl/find.hpp>
#include <boost/mpl/vector.hpp>
#include <boost/static_assert.hpp>
namespace mpl = boost::mpl;
typedef m...




최근 덧글