小编Giu*_*nte的帖子

如何命令结构的向量

我正在为我的论文使用c ++和NS3.所以我想用stl函数排序对struct的向量进行排序,所以我将把我的头文件发布到我的向量所在的位置,我将解释我想做什么.

#include "ns3/net-device.h"
#include "ns3/object.h"
#include "ns3/log.h"
#include <vector>
#include <stdint.h>
#include "miscellaneous.h"


namespace ns3 {

/**
 * \brief The UeRecord class is developed in order to store at the eNodeB
 * all information (such as feedback cqi, mac address etc...) of a UE registered
 * into that eNodeB. All UE records are managed by the UeManager class
 */
class UeRecord : public Object
{
public:
  UeRecord ();
  ~UeRecord ();

  /**
   * \brief CqiFeedbacks represents a list of CQI …
Run Code Online (Sandbox Code Playgroud)

c++ overloading operator-keyword

2
推荐指数
1
解决办法
177
查看次数

标签 统计

c++ ×1

operator-keyword ×1

overloading ×1