cmListFileCache: Add wrapper template for values with a backtrace

This commit is contained in:
Brad King
2018-09-24 10:54:18 -04:00
parent 4fc8e8b023
commit f1dd0eeaaf
2 changed files with 35 additions and 1 deletions
+6 -1
View File
@@ -9,10 +9,10 @@
#include "cmSystemTools.h"
#include "cmake.h"
#include <algorithm>
#include <assert.h>
#include <memory>
#include <sstream>
#include <utility>
cmCommandContext::cmCommandName& cmCommandContext::cmCommandName::operator=(
std::string const& name)
@@ -474,3 +474,8 @@ bool operator!=(const cmListFileContext& lhs, const cmListFileContext& rhs)
{
return !(lhs == rhs);
}
std::ostream& operator<<(std::ostream& os, BT<std::string> const& s)
{
return os << s.Value;
}