Updated README for generate that takes constexpr function