[ create a new paste ] login | about

kinaba

Name: Kazuhiro Inaba
Email:
Site/Blog: http://twitter.com/kinaba
Location: Japan
Default language: C++
Favorite languages: C++
About:

Saved pastes by kinaba:

Perl, pasted on Feb 20:
1
2
3
4
5
BEGIN {
	if( rand() > 0.5 ) {
		eval( "sub f {}" );
	} else 	{
		eval( "sub f() {}" );
...
view (9 lines, 2 lines of output)
C++, pasted on Dec 20:
1
2
3
4
5
#include <boost/version.hpp>
#include <iostream>

int main()
{
...
view (7 lines, 1 line of output)
C++, pasted on Nov 29:
1
2
3
4
5
#include <vector>
#include <iostream>
using namespace std;

// meta-function (for computing the return type of array2Vector)
...
view (35 lines, 3 lines of output)
C++, pasted on Oct 19:
1
2
3
//------------------------------------------------------------------------------------
// [Metafunction] Substitution as usual
//------------------------------------------------------------------------------------
...
view (155 lines)
C++, pasted on Jan 6:
1
2
3
4
5
#include <iostream>
#include <typeinfo>
using namespace std;

template<typename A>
...
view (16 lines, 1 line of output)
C++, pasted on Nov 6:
1
2
3
4
5
//-----------------------------------------------------------------------------
// >>Code Template<< (for Visual C++)

#include <iostream>
#include <sstream>
...
view (76 lines)