2010-08-20から1日間の記事一覧
この前の続きです。 #include <iostream> #include <assert.h> template< typename ValueType > struct counter_impl{ typedef ValueType value_t; counter_impl(const value_t& v) : value_(v){} const value_t& value() const{ return value_; } void value(const value_t& src</assert.h></iostream>…