what is a header only library

<>

This question already has an answer here:

Answers


A header-only library, as the name hints, is only made of headers. That actually means you don't have to link against binaries, because the whole code of this library is contained in headers, and this code will be compiled when you include them in your project.

This kind of libraries is sometimes the only way, for example when dealing with templates.


Need Your Help

Python- Share Variable Between Function and It's Decorator

python python-2.7 decorator python-decorators

(Python 2.7)Since decorators can not share variables with the function they are decorating, how can I make/pass object_list to the decorating function? I have a few of functions that will be using

Socket Server will not receive properly

java sockets

I am trying to make a socket server, I am connecting through putty to this server. Whenever I type "hi" it says "no" rather than "hi" which I want it to do. I found this on A java website. If you c...