Fixed it while dead drunk
could not walk in a straight line
had difficulty typing
coded rather slowly, but still wrote
smart code.
Realized that the error handling
has to have exception structures in
scope, but not the constructors in
scope
You can forward the constructors,
but if you forward the structs,
exceptions will crash. Your exception
constructor inputs can use structs that
are out of scope at the exception handler
So, though it compiles, the hashing code is compiling
to the wrong thing.
I conclude that my investment in template coding has been
excessive. It is time to switch to rust. Template
coding contains too much logically incoherent and
internally inconsistent backward compatibility
making it fragile to subtle changes in the compiler.
Which might have worked, but now visual studio compiler
crashes on ristretto.h
modified: src/frame.cpp
modified: src/ristretto255.h
modified: src/stdafx.h