• Daniel Teske's avatar
    Even more algorithm usage in ProjectExplorer · eccf1dc1
    Daniel Teske authored
    
    
    Add Utils::transform and anyOf that take a member function pointer.
    Remove bestElementOr it's unused.
    
    Use declval<T> in transform's return type, because msvc does evaluate
    T() and for types that don't have simple constructor this fails.
    Add std::remove_reference since decltype returns a reference for
    lvalues.
    
    Change-Id: I22248b226748eeb27af0d300182d574438d7f756
    Reviewed-by: default avatarEike Ziller <eike.ziller@digia.com>
    eccf1dc1
session.cpp 31.8 KB