wangzhengquan
2021-02-05 607ac3ae8bfc017e10a7907e69dcbc3ab2a0fb63
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#include "usg_common.h"
#include "usg_typedef.h"
#include "dgram_mod_socket.h"
#include "shm_mm_wraper.h"
#include "mm.h"
#include <typeinfo>
#include "lock_free_queue.h"
 
int main() {
    shm_mm_wrapper_init(512);
    LockFreeQueue<int> * queue = new LockFreeQueue<int>(16);
    void * tmp = (void *)queue;
    std::cout << typeid(queue).name() << std::endl;
    std::cout << typeid(tmp).name() << std::endl;
}