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

Logging of std containers with custom data types #248

Open
SlashBack626 opened this issue Apr 17, 2023 · 1 comment
Open

Logging of std containers with custom data types #248

SlashBack626 opened this issue Apr 17, 2023 · 1 comment

Comments

@SlashBack626
Copy link

Hi,

I recently started playing around with plog. I was wondering if it is possible to log standard container like vectors holding custom data types. Currently, my custom operator overloads are ignored (but I don't know if this is a cpp limitation).

Can this functionality be integrated into plog?

ps:
I noticed that when moving the template function for std containers from Record.h to my own header it works.

I have created a small example here
(Notice the changes in plog/Record.h and data.h)

@SergiusTheBest
Copy link
Owner

Hi @SlashBack626 ,

Thank you for the raised issue and PR, I'll check them soon.

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

2 participants