Skip to content

Simplified (unified) interface for registering file writing modules

Afonso Mukai requested to merge issue_174 into master

Created by: SkyToGround

Closes #174 (closed)

This is what has been done:

  • Modified the writer registation code to take a template argument for registering a new writer module instead of a std::function.
  • Changed key type for reader module from std::array<char,4> to std::string.
  • Added some error checking.
  • Mode names clearer and LLVM-ified some names.
  • Added unit tests. Probably too many for such simple code but I will not remove them now.
  • Modified file name suffixes to *.cpp.

Merge request reports