Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@skoppe
Copy link
Contributor

@skoppe skoppe commented Jun 24, 2019

I had some issues with the toString function with a struct T that has a non-copyable member. Basically std.format doesn't like it.

By making toString a template it is betterC compatible AND the toString method isn't instantiated when it is not used. Plus it looks better as well.

@aliak00
Copy link
Owner

aliak00 commented Jun 24, 2019

Why thank you!

@aliak00 aliak00 merged commit cfac31b into aliak00:master Jun 24, 2019
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.

2 participants