cierelabs / boostache

Template engine library in C++
92 stars 62 forks source link

C++11 patch #21

Closed meetingcpp closed 7 years ago

meetingcpp commented 8 years ago

Changes for C++11 compatibility:

Replace auto with generic parameters in templates
std::mismatch -> boost::algorithm::mismatch (only tests affected)
meetingcpp commented 8 years ago

Not sure how to update/rebase the old pull request via github interface, though this is now pointing at develop like requested.

meetingcpp commented 8 years ago

The changes make it compile with C++11, yet it crashes at rumtime, example3 is a good show case of this. Though I'd wait with the merging until this is resolved.

meetingcpp commented 8 years ago

Updated my changes, this version is not working under C++11 & 14. For C++11 you need to define BOOSTACHE_USE_CPP11 before including.

meetingcpp commented 7 years ago

Not needed anymore...