Skip to content
Permalink
Browse files

c++17 add transform_inclusive_scan function

	modified:   src/cl-stl-base.lisp
	modified:   src/cl-stl-numeric.lisp
	modified:   src/user-package.lisp
  • Loading branch information...
show-matz committed May 6, 2019
1 parent c73da8b commit 9a9dc34da54cbb790ac91fdad62bf723bc47392e
Showing with 485 additions and 0 deletions.
  1. +23 −0 src/cl-stl-base.lisp
  2. +458 −0 src/cl-stl-numeric.lisp
  3. +4 −0 src/user-package.lisp
@@ -293,6 +293,10 @@
cl-stl-0x98
cl-stl-0x11
cl-stl-0x14) :exclusive_scan
#-(or
cl-stl-0x98
cl-stl-0x11
cl-stl-0x14) :transform_inclusive_scan
;+-----------------------------------------+
;| algorithm |
;+-----------------------------------------+
@@ -1164,6 +1168,25 @@
copy of result ( point to end of sequence ).
")

#-(or cl-stl-0x98 cl-stl-0x11 cl-stl-0x14)
(declare-method-overload transform_inclusive_scan (5 6)
:documentation "
<<signature>>
(cl-stl:inclusive_scan first last result binary-op unary-op) [0x17]
(cl-stl:inclusive_scan first last result binary-op unary-op init) [0x17]
<<parameters>>
first : input_iterator.
last : input_iterator.
result : output_iterator.
binary-op : binary functor.
unary-op : unary functor.
init : initial value
<<return value>>
copy of result ( point to end of sequence ).
")

;;------------------------------------------------------------------------------
;;
;; generic functions declaration of algorithm
Oops, something went wrong.

0 comments on commit 9a9dc34

Please sign in to comment.
You can’t perform that action at this time.