Linux namespaces

Linux namespaces Namespaces are a feature of the Linux kernel that partitions kernel resources such that one set of processes sees one set of resources while another set of processes...

qxx (Query++, type-safe query builder)

QXX (Query++, type-safe query builder) Header Technique brief column.hxx Capture member pointer of struct type.hxx, condition.hxx Distinguish type in differenct scope and make type-safety table-impl.hxx, database-impl.hxx Hold differents types tuple-helper.hxx....

About functor

Function Object A function object is any object for which the function call operator is defined. Function Object(이하 functor)는 객체에 함수 호출 연산자를 더한 것을 의미한다. 다른 의미로 풀어 쓰면...

Run-time type information and dynamic_cast

RTTI(런타임 타입 정보) RTTI는 런타임시에 객체의 타입을 확인하는 C++의 메커니즘이다. 대표적으로 dynamic_cast, typeid를 들 수 있다. 이를 이해하기 위해선 먼저 dynamic_cast와 static_cast의 차이를 이해하여야 한다. C++ 버전의 Type introspection 개념이다....

Thinking of strut member list

구조체 멤버 리스트에 대한 고찰 c++에서는 일련의 데이터를 묶어서 저장하기 위하여 사용자 정의 타입인 구조체를 이용한다. 구조체를 구성하는 멤버 리스트들은 메모리에 순서대로 저장된다. (Data structure alignment에 의하여 저장된다. 즉, padding이...