-
-
Notifications
You must be signed in to change notification settings - Fork 71
Open
Labels
Description
I'm trying to compile a basic example, very close to what's presented in the examples folder on Windows w/ MSVC '17:
struct model
{
int value = 0;
};
struct increment_action {};
struct decrement_action {};
struct reset_action {
int new_value = 0;
};
using action = std::variant<increment_action, decrement_action, reset_action>;
auto store = lager::make_store<action >(
model{}, lager::with_manual_event_loop{});
This basic store init fails with error:
Severity Code Description Project File Line Suppression State Details
Error C3200 'lager::detail::reader_node<T>': invalid template argument for template parameter 'Base', expected a class template redacted redacted\lib\lager\store.hpp 40
I'm not entirely sure what the error is but store_node_base
seems to have issue deducing the types it needs correctly.