Skip to content
Snippets Groups Projects
Commit dda192e1 authored by Jan Trávníček's avatar Jan Trávníček
Browse files

drop not needed globalspace operator

parent 229bb33e
No related branches found
No related tags found
No related merge requests found
......@@ -221,18 +221,18 @@ alib::ObjectBase* CyclicString < SymbolType >::inc() && {
namespace alib {
 
template < class SymbolType >
class ComponentConstraint< ::string::CyclicString < SymbolType >, SymbolType, ::string::GeneralAlphabet > {
class ComponentConstraint< string::CyclicString < SymbolType >, SymbolType, string::GeneralAlphabet > {
public:
static bool used ( const ::string::CyclicString < SymbolType > & str, const SymbolType & symbol ) {
static bool used ( const string::CyclicString < SymbolType > & str, const SymbolType & symbol ) {
const ext::vector<SymbolType>& content = str.getContent ( );
return std::find(content.begin(), content.end(), symbol) != content.end();
}
 
static bool available ( const ::string::CyclicString < SymbolType > &, const SymbolType & ) {
static bool available ( const string::CyclicString < SymbolType > &, const SymbolType & ) {
return true;
}
 
static void valid ( const ::string::CyclicString < SymbolType > &, const SymbolType & ) {
static void valid ( const string::CyclicString < SymbolType > &, const SymbolType & ) {
}
};
 
......
......@@ -171,17 +171,17 @@ alib::ObjectBase* Epsilon < SymbolType >::inc() && {
namespace alib {
 
template < class SymbolType >
class ComponentConstraint< ::string::Epsilon < SymbolType >, SymbolType, ::string::GeneralAlphabet > {
class ComponentConstraint< string::Epsilon < SymbolType >, SymbolType, string::GeneralAlphabet > {
public:
static bool used ( const ::string::Epsilon < SymbolType > &, const SymbolType & ) {
static bool used ( const string::Epsilon < SymbolType > &, const SymbolType & ) {
return false;
}
 
static bool available ( const ::string::Epsilon < SymbolType > &, const SymbolType & ) {
static bool available ( const string::Epsilon < SymbolType > &, const SymbolType & ) {
return true;
}
 
static void valid ( const ::string::Epsilon < SymbolType > &, const SymbolType & ) {
static void valid ( const string::Epsilon < SymbolType > &, const SymbolType & ) {
}
};
 
......
......@@ -311,18 +311,18 @@ alib::ObjectBase* LinearString < SymbolType >::inc() && {
namespace alib {
 
template < class SymbolType >
class ComponentConstraint< ::string::LinearString < SymbolType >, SymbolType, ::string::GeneralAlphabet > {
class ComponentConstraint< string::LinearString < SymbolType >, SymbolType, string::GeneralAlphabet > {
public:
static bool used ( const ::string::LinearString < SymbolType > & str, const SymbolType & symbol ) {
static bool used ( const string::LinearString < SymbolType > & str, const SymbolType & symbol ) {
const ext::vector<SymbolType>& content = str.getContent ( );
return std::find(content.begin(), content.end(), symbol) != content.end();
}
 
static bool available ( const ::string::LinearString < SymbolType > &, const SymbolType & ) {
static bool available ( const string::LinearString < SymbolType > &, const SymbolType & ) {
return true;
}
 
static void valid ( const ::string::LinearString < SymbolType > &, const SymbolType & ) {
static void valid ( const string::LinearString < SymbolType > &, const SymbolType & ) {
}
};
 
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment