2015年5月29日

【STL源码剖析读书笔记】自己实现queue之MyQueue(底层用MyList)

摘要: MyList.h#ifndef MY_LIST_H#define MY_LIST_H#include//list的node结构templatestruct list_node{ typedef list_node* pointer; pointer prev; pointer next; T dat... 阅读全文

posted @ 2015-05-29 20:18 ruan875417 阅读(345) 评论(0) 推荐(0) 编辑

【STL源码剖析读书笔记】自己实现stack之MyStack(底层用MyList)

摘要: MyList.h#ifndef MY_LIST_H#define MY_LIST_H#include//list的node结构templatestruct list_node{ typedef list_node* pointer; pointer prev; pointer next; T dat... 阅读全文

posted @ 2015-05-29 18:22 ruan875417 阅读(228) 评论(0) 推荐(0) 编辑

【STL源码剖析读书笔记】自己实现list之MyList

摘要: MyList.h#ifndef MY_LIST_H#define MY_LIST_H#include#include//list的节点结构templatestruct list_node{ typedef list_node* pointer; pointer prev; pointer next;... 阅读全文

posted @ 2015-05-29 14:50 ruan875417 阅读(204) 评论(0) 推荐(1) 编辑

导航