Czy da się tak zrobic (c++0x) ?
header
#include <cstdint>
#include <map>
#include <list>
#include <string>
#include <utility>
static std::map<std::string, std::list<std::pair<std::string, std::string> > > mapTones;
cpp
#include "midinote.h"
using namespace std;
map<string T, list<pair<string k, string k2> > lst > MIDInote::mapTones =
{
};
nie rozumiem. Jesli wywale nazwy zmiennych w definicji w Cpp to sie kompiluje, jak je dopisze tak jak wyzej to
wywala mi : błąd:wrong number of template arguments (1, should be 4)