Search:

Type: Posts; User: TotalTurd

Search: Search took 0.01 seconds.

  1. Intrusive member algorithms optimization?

    If you look at the Boost intrusive algorithms you notice that many of them have an option to be used as hook or member.

    For smaller algorithms this doesn't really matter as the code is likely to...
  2. Class for both dynamic allocated buffer and static buffer

    I'm trying to figure out if there is any benefit of creating a class template where a buffer can be statically allocated, useful for small buffers located on the stack and dynamically allocated...
  3. Replies
    3
    Views
    1,993

    C++ template method inlining

    If you take the following example with all method implementation code inside the class definition.


    template<typename T>
    class A
    {

    public:
    void SomeMethod()
    {
  4. Replies
    12
    Views
    1,372

    No I have not used serialization and maybe that's...

    No I have not used serialization and maybe that's what I'm looking for. On receiver side I guess this require parsing the entire packet once first in order to find the members, basically unwinding...
  5. Replies
    12
    Views
    1,372

    This is for Mach OS/QNX type message IPC and I...

    This is for Mach OS/QNX type message IPC and I cannot just serialize like that. I realize the socket word in the original text was misleading. The structures are in memory and will end up in just...
  6. Replies
    12
    Views
    1,372

    I cannot use that in this case for performance...

    I cannot use that in this case for performance reasons. Otherwise it would have been a good idea. I must send all the data in packet at once and I need to know the size from the beginning. The...
  7. Replies
    12
    Views
    1,372

    Good way to construct packets

    A lot of communication is done by creating packets (for sockets/IPC etc). Often you end up with variable sized packets for example strings in it. For example.


    struct StringPacketBase
    {...
  8. Because class A should be able to put in a list...

    Because class A should be able to put in a list as well as being able to be used in a hash table, however both the normal list and the hash table use the list implementation. Basically the object...
  9. Since this is an intrusive list class, classes...

    Since this is an intrusive list class, classes that want to be listable must own their own list data.
  10. Multiple inheritance from same base template ambiguity

    I have the following situation:

    I have a List class, made up by class ListNode that is inherited in classes that wants to be put in lists.



    struct _List_node_base
    {
    void...
Results 1 to 10 of 10