[/ (C) Copyright 2009-2011 Frederic Bron. Distributed under the Boost Software License, Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt). ] [section:has_left_shift has_left_shift] template struct has_left_shift : public __tof {}; __inherit If (i) `lhs` of type `Lhs` and `rhs` of type `Rhs` can be used in expression `lhs<::value==true `` If `Ret=void`, the return type is checked to be exactly `void`. __header `#include ` or `#include ` or `#include ` [has_binary_operator_compat] __examples [:`has_left_shift::value_type` is the type `bool`.] [:`has_left_shift::value` is a `bool` integral constant expression.] [:`has_left_shift::value` is a `bool` integral constant expression that evaluates to `true`.] [:`has_left_shift` inherits from `__true_type`.] [:`has_left_shift` inherits from `__true_type`.] [:`has_left_shift` inherits from `__true_type`.] [:`has_left_shift` inherits from `__true_type`.] [:`has_left_shift` inherits from `__true_type`.] [:`has_left_shift` inherits from `__true_type`.] [:`has_left_shift` inherits from `__false_type`.] [:`has_left_shift` inherits from `__false_type`.] [*See also:] [link boost_typetraits.category.value_traits.operators Operator Type Traits] [binary_operator_known_issues has_left_shift..<<..A..contains..const ] [endsect]