Skip to content

Tag Archives: cpp-boost

The library Boot.StringAlgorithms provides many functions for string manipulations. The string can be of type std::string, std::wstring, or any instance of the class template std::basic_string.… Read More
Given two numbers A and B where (A > B), the task is to check if B is a prefix of A or not. Print… Read More
The std::boost::is_array template of Boost C++ Library used to check whether the given type is an array type or not. It returns a boolean value… Read More
The is_pointer template of Boost library is used to check whether the given type is a pointer or not. It returns a boolean value showing… Read More
The boost has more than 150 libraries in it, where a couple of most frequently used libraries were already included in C++ standard library. The… Read More
The clamp() function in C++ boost library is found under the header ‘boost/algorithm/clamp.hpp’ contains two functions for “clamping” a value between a pair of boundary… Read More
The equal() function in C++ boost library is found under the header ‘boost/algorithm/cxx11/equal.hpp’ tests to see if two sequences contain equal values. It returns a… Read More
The Boost String Algorithms Library provides a generic implementation of string-related algorithms which are missing in STL. It is an extension to the algorithms library… Read More
The is_sorted() function in C++ boost library is found under the header ‘boost/algorithm/cxx11/is_sorted.hpp’ which tests if the given sequence is sorted or not according to… Read More
The is_partitioned() function in C++ boost library is found under the header ‘boost/algorithm/cxx11/is_partitioned.hpp’ which tests if the given sequence is partitioned according to the given… Read More
The one_of_equal() function in C++ boost library is found under the header ‘boost/algorithm/cxx11/one_of.hpp’ which tests if exactly one of the elements of a sequence against… Read More
The any_of_equal() function in C++ boost library is found under the header ‘boost/algorithm/cxx11/any_of.hpp’ which tests if any of the elements of a sequence against the… Read More
The none_of() function in C++ boost library is found under the header ‘boost/algorithm/cxx11/none_of.hpp’ which tests all the elements of a sequence and returns true if… Read More
The none_of_equal() function in C++ boost library is found under the header ‘boost/algorithm/cxx11/none_of.hpp‘ which tests all the elements of a sequence against the value passed… Read More
The all_of_equal() function in C++ boost library is found under the header ‘boost/algorithm/cxx11/all_of.hpp’ which tests all the elements of a sequence against the value passed… Read More