Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Name template arguments properly #16

Closed
YarikTH opened this issue Mar 20, 2021 · 0 comments
Closed

Name template arguments properly #16

YarikTH opened this issue Mar 20, 2021 · 0 comments
Milestone

Comments

@YarikTH
Copy link
Owner

YarikTH commented Mar 20, 2021

Now error listing is very sexy:

D:\a\ureact\ureact\include\ureact/detail/var_signal.hpp(35,25): error C2059: syntax error: 'template' [D:\a\ureact\build\examples\example_complex_signals_v3.vcxproj]
          with
D:\a\ureact\ureact\include\ureact/detail/var_signal.hpp(82): message : see reference to function template instantiation 'void ureact::detail::var_signal_base<S>::set_value<std::basic_string<char,std::char_traits<char>,std::allocator<char>>>(T &&) const' being compiled [D:\a\ureact\build\examples\example_hello_world_operators.vcxproj]
          with
          [
              S=std::string,
              T=std::basic_string<char,std::char_traits<char>,std::allocator<char>>
D:\a\ureact\ureact\include\ureact/detail/var_signal.hpp(82): message : see reference to function template instantiation 'void ureact::detail::var_signal_base<S>::set_value<int>(T &&) const' being compiled [D:\a\ureact\build\examples\example_complex_signals_v3.vcxproj]
          with
          [
              S=int,
              T=int
          [
D:\a\ureact\ureact\include\ureact/detail/var_signal.hpp(82): message : see reference to function template instantiation 'void ureact::detail::var_signal_base<S>::set_value<int>(T &&) const' being compiled [D:\a\ureact\build\examples\example_changing_multiple_inputs.vcxproj]
          with
          [
              S=int,
              T=int
              S=int,
          ]
              T=int
          ]
          ]
          ]
D:\a\ureact\ureact\include\ureact/detail/var_signal.hpp(82): message : see reference to function template instantiation 'void ureact::detail::var_signal_base<S>::set_value<std::basic_string<char,std::char_traits<char>,std::allocator<char>>>(T &&) const' being compiled [D:\a\ureact\build\examples\example_hello_world_operators.vcxproj]
          with
          [
              S=std::string,
              T=std::basic_string<char,std::char_traits<char>,std::allocator<char>>

T, S, S, T... It's impossible to debug.

@YarikTH YarikTH modified the milestones: 0.1.0, 1.0.0 Mar 20, 2021
@YarikTH YarikTH closed this as completed Mar 27, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant