IterSource: use human readable source type diagnostics
This commit is contained in:
parent
dfd3dc1275
commit
9d5d758f0c
1 changed files with 2 additions and 1 deletions
|
|
@ -48,6 +48,7 @@
|
|||
#define LIB_ITER_SOURCE_H
|
||||
|
||||
|
||||
#include "lib/meta/util.hpp"
|
||||
#include "lib/iter-adapter.hpp"
|
||||
#include "lib/itertools.hpp"
|
||||
|
||||
|
|
@ -114,7 +115,7 @@ namespace lib {
|
|||
virtual
|
||||
operator string() const ///< subclasses may offer diagnostics
|
||||
{
|
||||
return "IterSource(opaque)";
|
||||
return "IterSource<" + lib::meta::typeStr<TY>()+ ">";
|
||||
}
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue