IRSOL
C++ code implementing socket server for interacting with Baumer camera.
test_variants.cpp File Reference
#include "irsol/protocol/message/assignment.hpp"
#include "irsol/protocol/message/binary.hpp"
#include "irsol/protocol/message/command.hpp"
#include "irsol/protocol/message/error.hpp"
#include "irsol/protocol/message/inquiry.hpp"
#include "irsol/protocol/message/success.hpp"
#include "irsol/protocol/message/variants.hpp"
#include <catch2/catch_all.hpp>
#include <memory>
#include <string>
#include <string_view>
#include <utility>

Go to the source code of this file.

Functions

constexpr bool strings_equal (char const *a, char const *b)
 

Function Documentation

◆ strings_equal()

constexpr bool strings_equal ( char const *  a,
char const *  b 
)
constexpr

Definition at line 16 of file test_variants.cpp.

17{
18 return std::string_view(a) == b;
19}