Forward declaration for fkyaml::node #420
abcminiuser
started this conversation in
Ideas
Replies: 1 comment 3 replies
-
@abcminiuser
Regarding such a header file which contains forward declarations, I'm planning to add one which is similar to the ones in nlohmann json or in spdlog. They contains forward declarations of types which either implement library APIs or provide a customization point. Is that what you expect? |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello - thanks for the library!
It would be great if the standard
fkyaml::node
could be forward declared in a separate header, so that translation units that don't directly use the library can be built without having to pay for the compile time cost of including the full library header. Ideally this means I could use the forward-declaration version in my file loader class header, and then only include the actual library code inside the one CPP file that needs to work with the nodes.Beta Was this translation helpful? Give feedback.
All reactions