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

small quality of live improvement #16

Open
questor opened this issue Mar 21, 2024 · 0 comments
Open

small quality of live improvement #16

questor opened this issue Mar 21, 2024 · 0 comments

Comments

@questor
Copy link

questor commented Mar 21, 2024

the fixed-point class is not handled as POD type which will result in nasty constructions needed when you use it in a union. Can be fixed by using at line ~150:

FPTemplate() = default;
FPTemplate(const FPTemplate&    newValue) = default;

to mark it as POD where memcpy is allowed.

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