update shared memory library

add scope typename
add new operator