mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-11-13 11:42:38 +03:00
b1ea418d14
For the most part, we try to provide specializations of these functions in various headers by including "LibIPC/Forward.h" and then declaring encode() and decode() specializations. However, without any forward declaration of these types, we aren't actually specializing anything. Rather, we are just declaring overloads, which trips up the base encode and decode template definitions. The result is that LibIPC is very sensitive to include order, and the DependentFalse<> static assertion would fail if the includes weren't perfectly ordered. By properly forward declaring these templates, we can make sure the specializations receive precedence over the base templates. |
||
---|---|---|
.. | ||
CMakeLists.txt | ||
Connection.cpp | ||
Connection.h | ||
ConnectionFromClient.h | ||
ConnectionToServer.h | ||
Decoder.cpp | ||
Decoder.h | ||
Dictionary.h | ||
Encoder.cpp | ||
Encoder.h | ||
File.h | ||
Forward.h | ||
Message.h | ||
MultiServer.h | ||
SingleServer.h | ||
Stub.h |