We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
In persistent-data/data-structures/array.h:
persistent-data/data-structures/array.h
template <typename ValueTraits> class array : public array_base { public: class block_ref_counter : public ref_counter<uint64_t> { public:
typedef typename ValueTraits::ref_counter ref_counter;
The ambiguity here is whether the ref_counter name refers to persistent_data::ref_counter or ValueTraits::ref_counter from the later typedef.
persistent_data::ref_counter
ValueTraits::ref_counter
This gives errors when using compilers based on EDG frontend, and their developers think your code is wrong, not the compiler.
Possible solution:
- class block_ref_counter : public ref_counter<uint64_t> { + class block_ref_counter : public persistent_data::ref_counter<uint64_t> {
It's better not to use the same name everywhere.
The text was updated successfully, but these errors were encountered:
I just pushed your fix. Thank you.
Sorry, something went wrong.
No branches or pull requests
In
persistent-data/data-structures/array.h
:The ambiguity here is whether the ref_counter name refers to
persistent_data::ref_counter
orValueTraits::ref_counter
from the later typedef.This gives errors when using compilers based on EDG frontend, and their developers think your code is wrong, not the compiler.
Possible solution:
It's better not to use the same name everywhere.
The text was updated successfully, but these errors were encountered: