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

Assume support for source location. #943

Merged
merged 3 commits into from
Jan 27, 2025
Merged

Assume support for source location. #943

merged 3 commits into from
Jan 27, 2025

Conversation

jtv
Copy link
Owner

@jtv jtv commented Jan 27, 2025

Seems I somehow forgot to merge these changes in #941... Assume that the compiler supports std::source_location, so I can ditch a whole bunch of conditional code and can reasonably start implementing #923.

jtv added 3 commits January 26, 2025 00:45
This is a C++20 feature, and it seems to be widely implemented.

Next step of course is to pass the source location in more places, so
that exceptions will be properly helpful in pinpointing where their
errors happened.  Ideally an error will tell you the location of the
original call into libpqxx that led to the problem.
@jtv jtv merged commit a24c88a into start-8 Jan 27, 2025
4 checks passed
@jtv jtv deleted the assume-source_location branch January 27, 2025 22:12
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

Successfully merging this pull request may close these issues.

1 participant