wangzhengquan
2020-10-12 bd9d61c39d04f5b5860418a2d558c07d9b0a69d0
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.h"
#include "mm.h"
#include <typeinfo>
#include "lock_free_queue.h"
 
int main() {
    shm_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;
}