changed AbstractExtraction::isValueNull(const std::string&, bool) from specialization to overload

This commit is contained in:
Aleksandar Fabijanic 2008-07-30 13:54:58 +00:00
parent fc5a503593
commit e55781ba66
2 changed files with 3 additions and 4 deletions

View File

@ -145,15 +145,15 @@ public:
bool isValueNull(const T& str, bool deflt)
/// Utility function to determine the nullness of the value.
/// This generic version always returns default value
/// (i.e. does nothing).
/// (i.e. does nothing). The std::string overload does
/// the actual work.
///
{
return deflt;
}
template <>
bool isValueNull(const std::string& str, bool deflt);
/// Specialization for const reference to std::string.
/// Overload for const reference to std::string.
///
/// Returns true when folowing conditions are met:
///

View File

@ -59,7 +59,6 @@ AbstractExtraction::~AbstractExtraction()
}
template <>
bool AbstractExtraction::isValueNull(const std::string& str, bool deflt)
{
if (getForceEmptyString()) return false;