wangzhengquan
2021-02-08 bc2afe32e8db4318f2a2adea49d85b10d0d4cc97
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;
}