1. 08 Jan, 2018 2 commits
    • Kenneth Moreland's avatar
      Add hint to read source code for help · fe9594c1
      Kenneth Moreland authored
      In trying to give error diagnostics with template definitions of invalid
      types, the user encounters some pretty confusing error messages at
      first. There is no way to get the compiler to give exactly the
      diagnostics we want in a nice readable error message, so we are putting
      some verbose instructions as comments in the code. However, a user might
      not know to look at the source code since the error happens deep in an
      unfamiliar (and complicated) class. Thus, add (yet another) error at the
      front that gives a (hopefully) clear indication to look at the source
      code for help in understanding the errors.
      fe9594c1
    • Kenneth Moreland's avatar
      Give better error reporting when an Invoke parameter is wrong · c3889a1a
      Kenneth Moreland authored
      When one of the parameters to DispatcherBase::Invoke is incorrect, you
      get an error in a strange place. It is deep in a call stack using some
      heavily templated types rather than where the Invoke is actually called.
      
      Formerly, the code was structured to give a very obfuscated error
      message. Try to make this easier on users by first adding helpful hints
      in the code around where the error is to explain why the error occured
      and helpful advice on how to track down the problem. Second, reconfigure
      the static_assert so that the compiler gives a readable error message.
      Third, add some auxiliary error messages that provide additional
      information about the types and classes involved in the error.
      c3889a1a
  2. 06 Jan, 2018 1 commit
  3. 04 Jan, 2018 11 commits
  4. 03 Jan, 2018 19 commits
  5. 02 Jan, 2018 5 commits
  6. 29 Dec, 2017 2 commits