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

proto_conv #135

Merged
merged 1 commit into from
Sep 3, 2023
Merged

proto_conv #135

merged 1 commit into from
Sep 3, 2023

Conversation

strasdat
Copy link
Member

@strasdat strasdat commented Aug 30, 2023

  • use specialization instead of ADL for proto conversion to enable more general purpose serialization tools
    E.g. a event logger and playback tools which can deals with all Cpp types which are convertiable to / from Protos.
    Note: If conversion is done using free functions with argument dependent lookup (ADL), all corresponding header need to be included for such tool. If on the other hand function template specialization is used, only the base case of the template definition needs to be included, and only in the context the template is instantiated, the conversion for the concrete type is required.
  • unit tests for all proto conversions

@strasdat strasdat changed the title always build ceres tests proto_conv Aug 30, 2023
@strasdat strasdat marked this pull request as draft August 30, 2023 11:52
@strasdat strasdat force-pushed the proto_conv branch 4 times, most recently from 94b1447 to 54c10a3 Compare August 30, 2023 19:50
@strasdat strasdat force-pushed the proto_conv branch 3 times, most recently from d17c62a to d685f8d Compare August 31, 2023 15:01
@strasdat strasdat marked this pull request as ready for review August 31, 2023 15:06
@strasdat strasdat force-pushed the proto_conv branch 2 times, most recently from cf40fe7 to 3fc8f49 Compare August 31, 2023 15:29
     - use specialization instead of ADL for proto conversions
     - complete unit tests
@strasdat strasdat merged commit a94b5b3 into main Sep 3, 2023
5 checks passed
@strasdat strasdat deleted the proto_conv branch September 3, 2023 06:39
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.

None yet

1 participant