+++ /dev/null
-/*
-This file is part of libmspparser
-Copyright © 2006 Mikko Rasa, Mikkosoft Productions
-Distributed under the LGPL
-*/
-#include <msp/error.h>
-#include "value.h"
-
-namespace Msp {
-namespace Parser {
-
-template<>
-std::string Value::get<std::string>() const
-{
- if(type!=STRING)
- throw TypeError("Value is not a string");
- return data;
-}
-
-template<>
-const std::string &Value::get<const std::string&>() const
-{
- if(type!=STRING)
- throw TypeError("Value is not a string");
- return data;
-}
-
-} // namespace Msp
-} // namespace Parser