Implement value printing for std::filesystem::path
This commit is contained in:
parent
fa648e8fa5
commit
75b1314f6b
@ -16,6 +16,9 @@
|
||||
|
||||
#include <cling/Interpreter/Visibility.h>
|
||||
|
||||
#if __cplusplus >= 201703L
|
||||
#include <filesystem>
|
||||
#endif
|
||||
#include <memory>
|
||||
#if __cplusplus >= 202002L
|
||||
#include <version>
|
||||
@ -241,6 +244,13 @@ namespace cling {
|
||||
return collectionPrinterInternal::printValue_impl(obj);
|
||||
}
|
||||
|
||||
#if __cplusplus >= 201703L
|
||||
// For std::filesystem::path
|
||||
inline std::string printValue(const std::filesystem::path* obj) {
|
||||
return obj->string();
|
||||
}
|
||||
#endif
|
||||
|
||||
// Arrays
|
||||
template<typename T, size_t N>
|
||||
inline std::string printValue(const T (*obj)[N]) {
|
||||
|
Loading…
Reference in New Issue
Block a user