This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#ifndef _1_H_ | |
#define _1_H_ | |
#include <iostream> | |
template <class TChild> | |
class GrandParent | |
{ | |
protected: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#ifndef _2_H_ | |
#define _2_H_ | |
#include <iostream> | |
struct Abidbul { }; | |
template <int i> | |
struct NumType { }; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#ifndef _3_H_ | |
#define _3_H_ | |
#include <vector> | |
typedef std::vector<int> Matrix1; | |
typedef std::vector<std::vector<int> > Matrix2; | |
typedef std::vector<std::vector<std::vector<int> > > Matrix3; | |
template <typename T> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#ifndef _1_H_ | |
#define _1_H_ | |
#include <iostream> | |
template <class TChild> | |
class GrandParent | |
{ | |
protected: | |
GrandParent() { } |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#ifndef _2_H_ | |
#define _2_H_ | |
#include <iostream> | |
struct Abidbul { }; | |
template <int i> | |
struct NumType { }; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#ifndef MAKEEACHMPLTOSHAREDPTR_HPP_ | |
# define MAKEEACHMPLTOSHAREDPTR_HPP_ | |
# include <boost/mpl/vector.hpp> | |
# include <boost/mpl/back.hpp> | |
# include <boost/mpl/push_front.hpp> | |
# include <boost/mpl/pop_back.hpp> | |
# include <boost/mpl/empty.hpp> | |
# include <memory> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
typedef int Integer; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class Wolf | |
{ | |
public: | |
class Head | |
{ | |
}; | |
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <list> | |
class Wolf | |
{ | |
public: | |
typedef std::list<Wolf> Pack; | |
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
template <typename T> | |
struct Commonplace | |
{ | |
typedef T Type; | |
}; |
OlderNewer