Ignore:
Timestamp:
2019-01-16T18:07:45Z (6 years ago)
Author:
jxsvoboda <5887334+jxsvoboda@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
4248ce5
Parents:
cf9e949
git-author:
Jaroslav Jindrak <dzejrou@…> (2019-01-12 15:09:49)
git-committer:
jxsvoboda <5887334+jxsvoboda@…> (2019-01-16 18:07:45)
Message:

cpp: abort and report when an unimplemented function is called

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/cpp/include/__bits/functional/bind.hpp

    rcf9e949 r7dcce0a  
    11/*
    2  * Copyright (c) 2018 Jaroslav Jindrak
     2 * Copyright (c) 2019 Jaroslav Jindrak
    33 * All rights reserved.
    44 *
     
    3333#include <__bits/functional/invoke.hpp>
    3434#include <__bits/functional/reference_wrapper.hpp>
     35#include <cassert>
    3536#include <tuple>
    3637#include <type_traits>
     
    133134                constexpr decltype(auto) operator[](const bind_t<R, B, F, BindArgs...> b)
    134135                {
     136                    __unimplemented();
    135137                    return b; // TODO: bind subexpressions
    136138                }
Note: See TracChangeset for help on using the changeset viewer.