Open alexey-malov opened 5 years ago
typedef boost::bimap<int, string> bm_type;
typedef bm_type::value_type сhannelHasName;
[x] Для имён типов используйте UpperCamelCase
[x] сhannelHasName - неудачное имя
void SetChannelName(const int& channelNumber, const string& channelName);
> SetChannel 6 TV 6
Channel saved: 6 - TV
SCENARIO("User wants to know which channel is sport", "[remote]")
auto it = m_channelList.right.find(string("33 sport"));
if (it != m_channelList.right.end())
{
//it->right;
}