systemc: Use c++11 partial functions instead of boosts.
authorGabe Black <gabeblack@google.com>
Fri, 28 Sep 2018 20:02:05 +0000 (13:02 -0700)
committerGabe Black <gabeblack@google.com>
Tue, 16 Oct 2018 00:39:57 +0000 (00:39 +0000)
commit3fe6ebb325f3630af32d9210a7121eb5710bf42f
tree8692bab191e398e1412096633c91cadab95f2a40
parent56eef42e7a60f7dfa8f874f7763ea638753c0c81
systemc: Use c++11 partial functions instead of boosts.

This creates a depenendency on c++11 which the headers otherwise avoid,
but gem5 itself already has a c++11 dependency and not a boost
dependency, and outside of having a local copy of boost (which
Accellera does) there isn't a good way to put the placeholder values
_1, _2, etc., into the custom sc_unnammed namespace.

Change-Id: I52ca4c1bc52bef6ff2c62e9f3c32af46f95244dc
Reviewed-on: https://gem5-review.googlesource.com/c/13193
Reviewed-by: Gabe Black <gabeblack@google.com>
Maintainer: Gabe Black <gabeblack@google.com>
src/systemc/core/sc_spawn.cc
src/systemc/ext/core/sc_spawn.hh