ladybird/Userland/Libraries/LibIPC
Timothy Flynn b1ea418d14 LibIPC: Forward declare the encode() and decode() template functions
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.
2022-11-15 13:25:51 -05:00
..
CMakeLists.txt Everywhere: Mark dependencies of most targets as PRIVATE 2022-11-01 14:49:09 +00:00
Connection.cpp LibIPC: Allow overriding the use of deferred_invoke() 2022-10-06 09:51:04 +02:00
Connection.h LibIPC: Allow overriding the use of deferred_invoke() 2022-10-06 09:51:04 +02:00
ConnectionFromClient.h LibIPC: Make noise when shutting down because of an error 2022-06-10 16:35:05 +01:00
ConnectionToServer.h SystemServer+LoginServer+Userland: Switch to sid-based sockets 2022-10-03 11:11:29 +02:00
Decoder.cpp AK+LibIPC: Add a convenience encoder/decoder for JsonValue 2022-11-08 19:58:34 -05:00
Decoder.h AK+LibIPC: Add a convenience encoder/decoder for JsonValue 2022-11-08 19:58:34 -05:00
Dictionary.h Everywhere: Run clang-format 2022-04-01 21:24:45 +01:00
Encoder.cpp AK+LibIPC: Add a convenience encoder/decoder for JsonValue 2022-11-08 19:58:34 -05:00
Encoder.h LibIPC: Forward declare the encode() and decode() template functions 2022-11-15 13:25:51 -05:00
File.h LibIPC: Use default instead of an empty constructor/destructor 2021-09-16 17:17:13 +02:00
Forward.h LibIPC: Forward declare the encode() and decode() template functions 2022-11-15 13:25:51 -05:00
Message.h Everywhere: Run clang-format 2022-04-01 21:24:45 +01:00
MultiServer.h Userland: Rename IPC ClientConnection => ConnectionFromClient 2022-02-25 22:35:12 +01:00
SingleServer.h Userland: Rename IPC ClientConnection => ConnectionFromClient 2022-02-25 22:35:12 +01:00
Stub.h Everywhere: Run clang-format 2022-04-01 21:24:45 +01:00