src/DataTypeWriterBase.h
branchv_0
changeset 19 98b901d7bb95
parent 18 90efe2db1ca8
child 20 bef6648e79b1
--- a/src/DataTypeWriterBase.h	Wed Jul 25 01:33:57 2018 +0200
+++ b/src/DataTypeWriterBase.h	Sat Jul 28 15:42:33 2018 +0200
@@ -37,6 +37,8 @@
 	 * @param type used as a safety mechanism to avoid wrong pointer interpretation;
 	 * should be called in this way: writeRaw(output, &value, typeid(value));
 	 * if the type does not match, the RelpipeWriterException is thrown
+	 * 
+	 * TODO: typeid() / type_info seems working but consider also sizeof() / size_t and teplates
 	 */
 	virtual void writeRaw(std::ostream& output, const void * value, const std::type_info& type) = 0;